– UNSUPPORTED

pydantic-ai 2.61.0

stream.missing-finish-abort · ollama

Back to results · Scenario

Requirements

IdLevelStatusEvidence

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: abort

What 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

ProvenanceValue
Transformcut_stream_after
Source fixtureollama/truncation.text-stream
RationaleThe connection closes before the stream has delivered every event.
Evidencehttps://github.com/openai/openai-python/issues/2065

Reproduce

wiretruth serve ollama/stream.missing-finish-abort

Plain-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

VersionGrade
2.61.0– UNSUPPORTED
2.56.0– UNSUPPORTED