[PR #13615] [MERGED] Docs: get rid of unnecessary quote in a code snippet related to vision capabilities #45544

Closed
opened 2026-04-25 01:13:54 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13615
Author: @harrykiselev
Created: 1/3/2026
Status: Merged
Merged: 1/3/2026
Merged by: @jmorganca

Base: mainHead: docs-fix


📝 Commits (1)

  • 08e0e8f docs/capabilities/vision: fix curl related code snippet

📊 Changes

1 file changed (+0 additions, -1 deletions)

View changed files

📝 docs/capabilities/vision.mdx (+0 -1)

📄 Description

This pull request addresses a syntax error in a code snippet used for working with example of the Vision capabilities models. The original example contained an unnecessary trailing double quote at the end of the curl command. This resulted in the shell hanging indefinitely, waiting for the quote to close, and preventing the example from executing correctly.

This revision removes the extraneous quote, resolving the syntax error and ensuring the curl command functions as intended. The corrected code snippet provides a reliable example for users to interact with vision models via curl.

Steps Taken:

  1. Reviewed the provided code snippet in the Vision capabilities documentation.
  2. Identified the trailing double quote as the source of the error.
  3. Removed the quote from the curl command.
  4. Tested the corrected code snippet in a terminal environment to confirm successful execution.

Expected Behavior:

The corrected curl command should execute without errors and successfully retrieve the desired data from LLM.

Before After
Screenshot 2026-01-04 at 01-06-26 Vision - Ollama Screenshot 2026-01-04 at 01-08-18 Vision - Ollama

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/13615 **Author:** [@harrykiselev](https://github.com/harrykiselev) **Created:** 1/3/2026 **Status:** ✅ Merged **Merged:** 1/3/2026 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `docs-fix` --- ### 📝 Commits (1) - [`08e0e8f`](https://github.com/ollama/ollama/commit/08e0e8faaff3b12e14ae432d7bff8fec93661c65) docs/capabilities/vision: fix curl related code snippet ### 📊 Changes **1 file changed** (+0 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/capabilities/vision.mdx` (+0 -1) </details> ### 📄 Description This pull request addresses a syntax error in a code snippet used for working with example of the Vision capabilities models. The original example contained an unnecessary trailing double quote at the end of the curl command. This resulted in the shell hanging indefinitely, waiting for the quote to close, and preventing the example from executing correctly. This revision removes the extraneous quote, resolving the syntax error and ensuring the curl command functions as intended. The corrected code snippet provides a reliable example for users to interact with vision models via curl. **Steps Taken:** 1. Reviewed the provided code snippet in the Vision capabilities documentation. 2. Identified the trailing double quote as the source of the error. 3. Removed the quote from the curl command. 4. Tested the corrected code snippet in a terminal environment to confirm successful execution. **Expected Behavior:** The corrected curl command should execute without errors and successfully retrieve the desired data from LLM. | Before | After | | ------------- | ------------- | | <img width="1148" height="968" alt="Screenshot 2026-01-04 at 01-06-26 Vision - Ollama" src="https://github.com/user-attachments/assets/d127e7eb-06b1-41f4-8e4d-2ef78b8a04f3" /> | <img width="1148" height="968" alt="Screenshot 2026-01-04 at 01-08-18 Vision - Ollama" src="https://github.com/user-attachments/assets/be050de1-6628-4add-97b7-64bfe35c975d" /> | --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-25 01:13:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#45544