From 0e8f5dd130c2195b21dfc3dfeefc74c9a9d11e0c Mon Sep 17 00:00:00 2001 From: YanzheL Date: Thu, 2 Apr 2026 03:07:22 +0800 Subject: [PATCH] docs(ollama): fix NDJSON code block language identifier Change language from 'json' to 'ndjson' for NDJSON examples since they contain multiple JSON objects which is not valid standard JSON. --- docs/troubleshooting/ollama.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/troubleshooting/ollama.md b/docs/troubleshooting/ollama.md index 986b7239b..e94937bea 100644 --- a/docs/troubleshooting/ollama.md +++ b/docs/troubleshooting/ollama.md @@ -16,7 +16,7 @@ This occurs when agents attempt tool calls (e.g., `explore` agent using `mcp_gre Ollama returns **NDJSON** (newline-delimited JSON) when `stream: true` is used in API requests: -```json +```ndjson {"message":{"tool_calls":[{"function":{"name":"read","arguments":{"filePath":"README.md"}}}]}, "done":false} {"message":{"content":""}, "done":true} ```