– UNSUPPORTED
pydantic-ai 2.61.0
stream.missing-finish-abort · ollama
Requirements
| Id | Level | Status | Evidence |
|---|
Notes
- pydantic-ai 2.61.0 implements OllamaModel via OpenAI-compatible Chat Completions only; there is no native /api/chat client. (https://ai.pydantic.dev/models/ollama/)
What the provider sent
- Finish
- none
- Raw finish
null
- Text
- Octopuses are master of camouflage,
- Tool calls
[]
- Usage
{ "alternatives": {}, "cached_input": null, "input": null, "output": null, "raw": {}, "reasoning": null, "total": null }- Stream completed
false
- Error
null
Wire excerpt
status: 200
content-type: application/x-ndjson
body (ndjson):
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:19.421674958Z","message":{"role":"assistant","content":"Oct"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:19.533325633Z","message":{"role":"assistant","content":"op"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:19.533383631Z","message":{"role":"assistant","content":"uses"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:19.533501035Z","message":{"role":"assistant","content":" are"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:19.65099542Z","message":{"role":"assistant","content":" master"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:19.759551535Z","message":{"role":"assistant","content":" of"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:19.872036409Z","message":{"role":"assistant","content":" camouflage"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:19.982184117Z","message":{"role":"assistant","content":","},"done":false}
end: abortWhat the library reported
- Outcome
- unsupported
- Finish
{ "raw": null, "source": null, "surface": "absent", "value": null }- Text
- Value
null
- Surface
- absent
- Tool calls
[]
- 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": 0, "completed": null, "used": true }- Error
null
- Unsupported reason
- pydantic-ai 2.61.0 implements OllamaModel via OpenAI-compatible Chat Completions only; there is no native /api/chat client. https://ai.pydantic.dev/models/ollama/
Full observation JSON
{
"elapsed_ms": 1.5206756070256233,
"error": null,
"finish": {
"raw": null,
"source": null,
"surface": "absent",
"value": null
},
"format": "wiretruth.observation/v1",
"library": {
"api": "Agent.run_stream_events",
"language": "python",
"name": "pydantic-ai",
"version": "2.61.0"
},
"notes": [],
"outcome": "unsupported",
"stream": {
"chunks_seen": 0,
"completed": null,
"used": true
},
"structured": {
"attempted": false,
"returned_as_success": false,
"value": null
},
"text": {
"surface": "absent",
"value": null
},
"tool_calls": [],
"unsupported_reason": "pydantic-ai 2.61.0 implements OllamaModel via OpenAI-compatible Chat Completions only; there is no native /api/chat client. https://ai.pydantic.dev/models/ollama/",
"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
derived ollama/stream.missing-finish-abort
| Provenance | Value |
|---|---|
| Transform | cut_stream_after |
| Source fixture | ollama/truncation.text-stream |
| Rationale | The connection closes before the stream has delivered every event. |
| Evidence | https://github.com/openai/openai-python/issues/2065 |
Reproduce
wiretruth serve ollama/stream.missing-finish-abortPlain-library snippet from the shim manifest.
Unsupported: OllamaModel uses only the OpenAI-compatible /v1 API, not native /api/chat.Upstream
No matching upstream report.
History
| Version | Grade |
|---|---|
| 2.61.0 | – UNSUPPORTED |
| 2.56.0 | – UNSUPPORTED |