✓ PASS
litellm 1.105.5
truncation.tool-call-args-stream · openai-chat
Requirements
| Id | Level | Status | Evidence |
|---|---|---|---|
| no-complete-partial-call | MUST | SATISFIED | 1 tool calls; no partial args made complete |
| cause-is-truncation | MUST | SATISFIED | finish.value="length" (primary: choices[0].finish_reason); truth.finish="length"; error.category=null; structured.returned_as_success=false |
What the provider sent
- Finish
- length
- Raw finish
- length
- Text
null
- Tool calls
[ { "arguments": null, "arguments_parsed_ok": false, "arguments_raw": "{\"title\":\"Weekend Pottery Workshop\",\"", "id": "call_DkXNh5JdHW4s54IKfPr4dP1U", "name": "create_event" } ]- 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; charset=utf-8
body (sse):
data: {"id":"chatcmpl-EXmWbuEH1m1F3czcaV6FIXqLd54H7","object":"chat.completion.chunk","created":1791720061,"model":"gpt-6-luna","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_DkXNh5JdHW4s54IKfPr4dP1U","type":"function","function":{"name":"create_event","arguments":""}}],"refusal":null},"finish_reason":null}],"obfuscation":"AoLyAol"}
data: {"id":"chatcmpl-EXmWbuEH1m1F3czcaV6FIXqLd54H7","object":"chat.completion.chunk","created":1791720061,"model":"gpt-6-luna","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null}],"obfuscation":"q3"}
data: {"id":"chatcmpl-EXmWbuEH1m1F3czcaV6FIXqLd54H7","object":"chat.completion.chunk","created":1791720061,"model":"gpt-6-luna","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"title"}}]},"finish_reason":null}],"obfuscation":""}
data: {"id":"chatcmpl-EXmWbuEH1m1F3czcaV6FIXqLd54H7","object":"chat.completion.chunk","created":1791720061,"model":"gpt-6-luna","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null}],"obfuscation":""}
data: {"id":"chatcmpl-EXmWbuEH1m1F3czcaV6FIXqLd54H7","object":"chat.completion.chunk","created":1791720061,"model":"gpt-6-luna","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Weekend"}}]},"finish_reason":null}],"obfuscation":"MHeTX929pznvFG"}
data: {"id":"chatcmpl-EXmWbuEH1m1F3czcaV6FIXqLd54H7","object":"chat.completion.chunk","created":1791720061,"model":"gpt-6-luna","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" Pot"}}]},"finish_reason":null}],"obfuscation":"X"}
data: {"id":"chatcmpl-EXmWbuEH1m1F3czcaV6FIXqLd54H7","object":"chat.completion.chunk","created":1791720061,"model":"gpt-6-luna","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"tery"}}]},"finish_reason":null}],"obfuscation":"v"}
data: {"id":"chatcmpl-EXmWbuEH1m1F3czcaV6FIXqLd54H7","object":"chat.completion.chunk","created":1791720061,"model":"gpt-6-luna","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" Workshop"}}]},"finish_reason":null}],"obfuscation":"eBxdZFJ0AQaC"}
data: {"id":"chatcmpl-EXmWbuEH1m1F3czcaV6FIXqLd54H7","object":"chat.completion.chunk","created":1791720061,"model":"gpt-6-luna","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"finish_reason":null}],"obfuscation":""}
data: {"id":"chatcmpl-EXmWbuEH1m1F3czcaV6FIXqLd54H7","object":"chat.completion.chunk","created":1791720061,"model":"gpt-6-luna","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"length"}],"obfuscation":"ppOIfIY"}
data: [DONE]
What the library reported
- Outcome
- returned
- Finish
{ "raw": "length", "source": "choices[0].finish_reason", "surface": "primary", "value": "length" }- Text
- Value
null
- Surface
- absent
- Tool calls
[ { "arguments": null, "arguments_parsed_ok": false, "arguments_raw": "{\"title\":\"Weekend Pottery Workshop\",\"", "id": "call_DkXNh5JdHW4s54IKfPr4dP1U", "name": "create_event" } ]- 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": 10, "completed": null, "used": true }- Error
null
- Unsupported reason
null
Full observation JSON
{
"elapsed_ms": 600.1779837533832,
"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": 10,
"completed": null,
"used": true
},
"structured": {
"attempted": false,
"returned_as_success": false,
"value": null
},
"text": {
"surface": "absent",
"value": null
},
"tool_calls": [
{
"arguments": null,
"arguments_parsed_ok": false,
"arguments_raw": "{\"title\":\"Weekend Pottery Workshop\",\"",
"id": "call_DkXNh5JdHW4s54IKfPr4dP1U",
"name": "create_event"
}
],
"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 openai-chat/truncation.tool-call-args-stream
| Provenance | Value |
|---|---|
| Recorded at | 2026-10-11T12:01:01Z |
| Requested model | gpt-6-luna |
| Returned model | gpt-6-luna |
| CI run | https://github.com/kartsan03/wiretruth/actions/runs/38137650119 |
Reproduce
wiretruth serve openai-chat/truncation.tool-call-args-streamPlain-library snippet from the shim manifest.
litellm.completion(model='openai/' + model, api_base=WIRETRUTH_BASE_URL_OPENAI_CHAT, api_key=WIRETRUTH_API_KEY)Upstream
No matching upstream report.
History
| Version | Grade |
|---|---|
| 1.105.5 | ✓ PASS |
| 1.105.1 | ✓ PASS |