✓ PASS
litellm 1.105.5
truncation.text-stream · ollama-openai
Requirements
| Id | Level | Status | Evidence |
|---|---|---|---|
| cause-is-truncation | MUST | SATISFIED | finish.value="length" (primary: choices[0].finish_reason); truth.finish="length"; error.category=null; structured.returned_as_success=false |
| text-reported | SHOULD | SATISFIED | text.value="Octopuses rely on their unique physiology to camouflage against the vast array of natural" (primary); truth.text="Octopuses rely on their unique physiology to camouflage against the vast array of natural" |
| usage-reported | SHOULD | SATISFIED | usage.output=null (absent); truth.usage.output=null; wire carried no output; library reported none |
What the provider sent
- Finish
- length
- Raw finish
- length
- Text
- Octopuses rely on their unique physiology to camouflage against the vast array of natural
- Tool calls
[]
- 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-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"Oct"},"finish_reason":null}]}
data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":"op"},"finish_reason":null}]}
data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":"uses"},"finish_reason":null}]}
data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" rely"},"finish_reason":null}]}
data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" on"},"finish_reason":null}]}
data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" their"},"finish_reason":null}]}
data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" unique"},"finish_reason":null}]}
data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" physiology"},"finish_reason":null}]}
data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" to"},"finish_reason":null}]}
data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" camouflage"},"finish_reason":null}]}
data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" against"},"finish_reason":null}]}
data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" the"},"finish_reason":null}]}
data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" vast"},"finish_reason":null}]}
data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" array"},"finish_reason":null}]}
data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" of"},"finish_reason":null}]}
data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"content":" natural"},"finish_reason":null}]}
data: {"id":"chatcmpl-554","object":"chat.completion.chunk","created":1791831681,"model":"qwen3.5:0.8b","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{},"finish_reason":"length"}]}
data: [DONE]
What the library reported
- Outcome
- returned
- Finish
{ "raw": "length", "source": "choices[0].finish_reason", "surface": "primary", "value": "length" }- Text
- Value
- Octopuses rely on their unique physiology to camouflage against the vast array of natural
- Surface
- primary
- 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": 17, "completed": null, "used": true }- Error
null
- Unsupported reason
null
Full observation JSON
{
"elapsed_ms": 573.8191427662969,
"error": null,
"finish": {
"raw": "length",
"source": "choices[0].finish_reason",
"surface": "primary",
"value": "length"
},
"format": "wiretruth.observation/v1",
"library": {
"api": "litellm.completion",
"language": "python",
"name": "litellm",
"version": "1.105.5"
},
"notes": [],
"outcome": "returned",
"stream": {
"chunks_seen": 17,
"completed": null,
"used": true
},
"structured": {
"attempted": false,
"returned_as_success": false,
"value": null
},
"text": {
"surface": "primary",
"value": "Octopuses rely on their unique physiology to camouflage against the vast array of natural"
},
"tool_calls": [],
"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/truncation.text-stream
| Provenance | Value |
|---|---|
| Recorded at | 2026-10-12T19:01:21Z |
| 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.text-streamPlain-library snippet from the shim manifest.
litellm.completion(model='openai/' + model, api_base=WIRETRUTH_BASE_URL_OLLAMA_OPENAI, api_key=WIRETRUTH_API_KEY); /v1 baseUpstream
No matching upstream report.
History
| Version | Grade |
|---|---|
| 1.105.5 | ✓ PASS |
| 1.105.1 | ✓ PASS |