– UNSUPPORTED

pydantic-ai 2.61.0

usage.stream-final-chunk · 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
stop
Raw finish
stop
Text
Atmospheric scattering of sunlight by air molecules prevents blue light from reaching the Earth's horizon and concentrates the remaining white light above it.
Tool calls
[]
Usage
{
  "alternatives": {},
  "cached_input": 0,
  "input": 24,
  "output": 28,
  "raw": {
    "eval_count": 28,
    "prompt_eval_cached_count": 0,
    "prompt_eval_count": 24
  },
  "reasoning": null,
  "total": 52
}
Stream completed
true
Error
null
Wire excerpt
status: 200
content-type: application/x-ndjson
body (ndjson):
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:22.023206005Z","message":{"role":"assistant","content":"At"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:22.132197654Z","message":{"role":"assistant","content":"mos"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:22.24271841Z","message":{"role":"assistant","content":"pheric"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:22.242776698Z","message":{"role":"assistant","content":" scattering"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:22.242876505Z","message":{"role":"assistant","content":" of"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:22.356821555Z","message":{"role":"assistant","content":" sunlight"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:22.356876698Z","message":{"role":"assistant","content":" by"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:22.465613792Z","message":{"role":"assistant","content":" air"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:22.575266255Z","message":{"role":"assistant","content":" molecules"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:22.575294768Z","message":{"role":"assistant","content":" prevents"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:22.684142858Z","message":{"role":"assistant","content":" blue"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:22.795010846Z","message":{"role":"assistant","content":" light"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:22.795040632Z","message":{"role":"assistant","content":" from"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:22.795279197Z","message":{"role":"assistant","content":" reaching"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:22.906040216Z","message":{"role":"assistant","content":" the"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:22.906072626Z","message":{"role":"assistant","content":" Earth"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:23.015606803Z","message":{"role":"assistant","content":"'s"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:23.12472855Z","message":{"role":"assistant","content":" horizon"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:23.233357827Z","message":{"role":"assistant","content":" and"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:23.343395886Z","message":{"role":"assistant","content":" concentrates"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:23.451399404Z","message":{"role":"assistant","content":" the"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:23.564501474Z","message":{"role":"assistant","content":" remaining"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:23.676932Z","message":{"role":"assistant","content":" white"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:23.785993926Z","message":{"role":"assistant","content":" light"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:23.786017179Z","message":{"role":"assistant","content":" above"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:23.895044469Z","message":{"role":"assistant","content":" it"},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:24.00383082Z","message":{"role":"assistant","content":"."},"done":false}
{"model":"qwen3.5:0.8b","created_at":"2026-10-12T19:01:24.11324866Z","message":{"role":"assistant","content":""},"done":true,"done_reason":"stop","total_duration":2372228610,"load_duration":2558208,"prompt_eval_count":24,"prompt_eval_cached_count":0,"prompt_eval_duration":271193000,"eval_count":28,"eval_duration":2089783000}

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.4040637761354446,
  "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

recorded ollama/usage.stream-final-chunk

ProvenanceValue
Recorded at2026-10-12T19:01:21Z
Requested modelqwen3.5:0.8b
Returned modelqwen3.5:0.8b
CI runhttps://github.com/kartsan03/wiretruth/actions/runs/38294709109

Reproduce

wiretruth serve ollama/usage.stream-final-chunk

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