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.
This commit is contained in:
@@ -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}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user