✓ PASS
pydantic-ai 2.61.0
truncation.text · ollama-openai
Requirements
| Id | Level | Status | Evidence |
|---|---|---|---|
| cause-is-truncation | MUST | SATISFIED | finish.value="length" (primary: ModelResponse.finish_reason); truth.finish="length"; error.category=null; structured.returned_as_success=false |
| text-reported | SHOULD | SATISFIED | text.value="Octopuses, like many marine invertebrates, employ sophisticated methods to camouflage" (primary); truth.text="Octopuses, like many marine invertebrates, employ sophisticated methods to camouflage" |
| usage-reported | SHOULD | SATISFIED | usage.input=32 (primary); truth.usage.input=32; usage.output=16 (primary); truth.usage.output=16 |
What the provider sent
- Finish
- length
- Raw finish
- length
- Text
- Octopuses, like many marine invertebrates, employ sophisticated methods to camouflage
- Tool calls
[]
- Usage
{ "alternatives": {}, "cached_input": 28, "input": 32, "output": 16, "raw": { "completion_tokens": 16, "prompt_tokens": 32, "prompt_tokens_details": { "cached_tokens": 28 }, "total_tokens": 48 }, "reasoning": null, "total": 48 }- Stream completed
null
- Error
null
Wire excerpt
status: 200
content-type: application/json
body (json):
{
"id": "chatcmpl-54",
"object": "chat.completion",
"created": 1791831683,
"model": "qwen3.5:0.8b",
"system_fingerprint": "fp_ollama",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Octopuses, like many marine invertebrates, employ sophisticated methods to camouflage"
},
"finish_reason": "length"
}
],
"usage": {
"prompt_tokens": 32,
"prompt_tokens_details": {
"cached_tokens": 28
},
"completion_tokens": 16,
"total_tokens": 48
}
}What the library reported
- Outcome
- returned
- Finish
{ "raw": "length", "source": "ModelResponse.finish_reason", "surface": "primary", "value": "length" }- Text
- Value
- Octopuses, like many marine invertebrates, employ sophisticated methods to camouflage
- Surface
- primary
- Tool calls
[]
- Usage
{ "cached_input": 28, "input": 32, "output": 16, "reasoning": 0, "surface": { "cached_input": "primary", "input": "primary", "output": "primary", "reasoning": "primary", "total": "primary" }, "total": 48 }- Stream
{ "chunks_seen": null, "completed": null, "used": false }- Error
null
- Unsupported reason
null
Full observation JSON
{
"elapsed_ms": 250.97405910491943,
"error": null,
"finish": {
"raw": "length",
"source": "ModelResponse.finish_reason",
"surface": "primary",
"value": "length"
},
"format": "wiretruth.observation/v1",
"library": {
"api": "Agent.run",
"language": "python",
"name": "pydantic-ai",
"version": "2.61.0"
},
"notes": [],
"outcome": "returned",
"stream": {
"chunks_seen": null,
"completed": null,
"used": false
},
"structured": {
"attempted": false,
"returned_as_success": false,
"value": null
},
"text": {
"surface": "primary",
"value": "Octopuses, like many marine invertebrates, employ sophisticated methods to camouflage"
},
"tool_calls": [],
"unsupported_reason": null,
"usage": {
"cached_input": 28,
"input": 32,
"output": 16,
"reasoning": 0,
"surface": {
"cached_input": "primary",
"input": "primary",
"output": "primary",
"reasoning": "primary",
"total": "primary"
},
"total": 48
}
}Fixture
recorded ollama-openai/truncation.text
| Provenance | Value |
|---|---|
| Recorded at | 2026-10-12T19:01:22Z |
| 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/truncation.textPlain-library snippet from the shim manifest.
OllamaModel(model, provider=OllamaProvider(base_url=WIRETRUTH_BASE_URL_OLLAMA_OPENAI, api_key=WIRETRUTH_API_KEY)); /v1 baseUpstream
No matching upstream report.
History
| Version | Grade |
|---|---|
| 2.61.0 | ✓ PASS |
| 2.56.0 | ✓ PASS |