✓ PASS
litellm 1.105.5
finish.stop-sequence · ollama-openai
Requirements
| Id | Level | Status | Evidence |
|---|---|---|---|
| finish-is-stop | MUST | SATISFIED | finish.value="stop" (primary: choices[0].finish_reason); truth.finish="stop"; required finish="stop" |
| text-reported | MUST | SATISFIED | text.value="```text\n1\n2\n3\n4\n5\n6\n7\n8\n9" (primary); truth.text="```text\n1\n2\n3\n4\n5\n6\n7\n8\n9" |
What the provider sent
- Finish
- stop
- Raw finish
- stop
- Text
- ```text 1 2 3 4 5 6 7 8 9
- Tool calls
[]
- Usage
{ "alternatives": {}, "cached_input": 0, "input": 32, "output": 22, "raw": { "completion_tokens": 22, "prompt_tokens": 32, "prompt_tokens_details": { "cached_tokens": 0 }, "total_tokens": 54 }, "reasoning": null, "total": 54 }- Stream completed
null
- Error
null
Wire excerpt
status: 200
content-type: application/json
body (json):
{
"id": "chatcmpl-551",
"object": "chat.completion",
"created": 1791831669,
"model": "qwen3.5:0.8b",
"system_fingerprint": "fp_ollama",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "```text\n1\n2\n3\n4\n5\n6\n7\n8\n9"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 32,
"prompt_tokens_details": {
"cached_tokens": 0
},
"completion_tokens": 22,
"total_tokens": 54
}
}What the library reported
- Outcome
- returned
- Finish
{ "raw": "stop", "source": "choices[0].finish_reason", "surface": "primary", "value": "stop" }- Text
- Value
- ```text 1 2 3 4 5 6 7 8 9
- Surface
- primary
- Tool calls
[]
- Usage
{ "cached_input": 0, "input": 32, "output": 22, "reasoning": null, "surface": { "cached_input": "primary", "input": "primary", "output": "primary", "reasoning": "absent", "total": "primary" }, "total": 54 }- Stream
{ "chunks_seen": null, "completed": null, "used": false }- Error
null
- Unsupported reason
null
Full observation JSON
{
"elapsed_ms": 367.96373408287764,
"error": null,
"finish": {
"raw": "stop",
"source": "choices[0].finish_reason",
"surface": "primary",
"value": "stop"
},
"format": "wiretruth.observation/v1",
"library": {
"api": "litellm.completion",
"language": "python",
"name": "litellm",
"version": "1.105.5"
},
"notes": [],
"outcome": "returned",
"stream": {
"chunks_seen": null,
"completed": null,
"used": false
},
"structured": {
"attempted": false,
"returned_as_success": false,
"value": null
},
"text": {
"surface": "primary",
"value": "```text\n1\n2\n3\n4\n5\n6\n7\n8\n9"
},
"tool_calls": [],
"unsupported_reason": null,
"usage": {
"cached_input": 0,
"input": 32,
"output": 22,
"reasoning": null,
"surface": {
"cached_input": "primary",
"input": "primary",
"output": "primary",
"reasoning": "absent",
"total": "primary"
},
"total": 54
}
}Fixture
recorded ollama-openai/finish.stop-sequence
| Provenance | Value |
|---|---|
| Recorded at | 2026-10-12T19:01:06Z |
| 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/finish.stop-sequencePlain-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 |