✓ PASS
tanstack-ai 1.4.0
tools.parallel-calls-stream · ollama-openai
Requirements
| Id | Level | Status | Evidence |
|---|---|---|---|
| calls-reported | MUST | SATISFIED | tool_calls[0] id="call_ksf3asbw", name="get_weather", args={"city": "São Paulo"}, parsed=true; truth id="call_ksf3asbw", name="get_weather", args={"city": "São Paulo"}, parsed=true; tool_calls[1] id="call_j3d219yx", name="get_weather", args={"city": "Zürich"}, parsed=true; truth id="call_j3d219yx", name="get_weather", args={"city": "Zürich"}, parsed=true |
What the provider sent
- Finish
- tool_calls
- Raw finish
- tool_calls
- Text
- Tool calls
[ { "arguments": { "city": "São Paulo" }, "arguments_parsed_ok": true, "arguments_raw": "{\"city\":\"São Paulo\"}", "id": "call_ksf3asbw", "name": "get_weather" }, { "arguments": { "city": "Zürich" }, "arguments_parsed_ok": true, "arguments_raw": "{\"city\":\"Zürich\"}", "id": "call_j3d219yx", "name": "get_weather" } ]- Usage
{ "alternatives": {}, "cached_input": null, "input": null, "output": null, "raw": null, "reasoning": null, "total": null }- Stream completed
true
- Error
null
Wire excerpt
status: 200
content-type: text/event-stream
body (sse):
data: {"id":"chatcmpl-27","object":"chat.completion.chunk","created":1791831673,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"","tool_calls":[{"id":"call_ksf3asbw","index":0,"type":"function","function":{"name":"get_weather","arguments":"{\"city\":\"São Paulo\"}"}}]},"finish_reason":null}]}
data: {"id":"chatcmpl-27","object":"chat.completion.chunk","created":1791831673,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":"","tool_calls":[{"id":"call_j3d219yx","index":1,"type":"function","function":{"name":"get_weather","arguments":"{\"city\":\"Zürich\"}"}}]},"finish_reason":null}]}
data: {"id":"chatcmpl-27","object":"chat.completion.chunk","created":1791831673,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}]}
data: [DONE]
What the library reported
- Outcome
- returned
- Finish
{ "raw": null, "source": "RUN_FINISHED.metadata.tanstack.finishReason", "surface": "primary", "value": "tool_calls" }- Text
- Value
null
- Surface
- absent
- Tool calls
[ { "arguments": { "city": "São Paulo" }, "arguments_parsed_ok": true, "arguments_raw": "{\"city\":\"São Paulo\"}", "id": "call_ksf3asbw", "name": "get_weather" }, { "arguments": { "city": "Zürich" }, "arguments_parsed_ok": true, "arguments_raw": "{\"city\":\"Zürich\"}", "id": "call_j3d219yx", "name": "get_weather" } ]- Usage
{ "cached_input": null, "input": null, "output": null, "reasoning": null, "surface": { "cached_input": "absent", "input": "absent", "output": "absent", "reasoning": "absent", "total": "absent" }, "total": null }- Stream
{ "chunks_seen": 9, "completed": true, "used": true }- Error
null
- Unsupported reason
null
Full observation JSON
{
"elapsed_ms": 128.765135,
"error": null,
"finish": {
"raw": null,
"source": "RUN_FINISHED.metadata.tanstack.finishReason",
"surface": "primary",
"value": "tool_calls"
},
"format": "wiretruth.observation/v1",
"library": {
"api": "chat",
"language": "javascript",
"name": "tanstack-ai",
"version": "1.4.0"
},
"notes": [],
"outcome": "returned",
"stream": {
"chunks_seen": 9,
"completed": true,
"used": true
},
"structured": {
"attempted": false,
"returned_as_success": false,
"value": null
},
"text": {
"surface": "absent",
"value": null
},
"tool_calls": [
{
"arguments": {
"city": "São Paulo"
},
"arguments_parsed_ok": true,
"arguments_raw": "{\"city\":\"São Paulo\"}",
"id": "call_ksf3asbw",
"name": "get_weather"
},
{
"arguments": {
"city": "Zürich"
},
"arguments_parsed_ok": true,
"arguments_raw": "{\"city\":\"Zürich\"}",
"id": "call_j3d219yx",
"name": "get_weather"
}
],
"unsupported_reason": null,
"usage": {
"cached_input": null,
"input": null,
"output": null,
"reasoning": null,
"surface": {
"cached_input": "absent",
"input": "absent",
"output": "absent",
"reasoning": "absent",
"total": "absent"
},
"total": null
}
}Fixture
recorded ollama-openai/tools.parallel-calls-stream
| Provenance | Value |
|---|---|
| Recorded at | 2026-10-12T19:01:11Z |
| Requested model | qwen3.5:0.8b |
| Returned model | qwen3.5:0.8b |
| CI run | https://github.com/kartsan03/wiretruth/actions/runs/38294739276 |
Reproduce
wiretruth serve ollama-openai/tools.parallel-calls-streamPlain-library snippet from the shim manifest.
openaiCompatible({ name: 'ollama', baseURL: WIRETRUTH_BASE_URL_OLLAMA_OPENAI, apiKey, models: [model] })(model); Chat Completions is the documented default for Ollama /v1. https://tanstack.com/ai/latest/docs/adapters/openai-compatibleUpstream
No matching upstream report.
History
| Version | Grade |
|---|---|
| 1.4.0 | ✓ PASS |
| 1.0.0 | ✓ PASS |
| 0.71.0 | ✓ PASS |