AI API receipt · BerriAI/litellm
BerriAI/litellm#45378 · upstream bug reproduced by running the issue's own reproduction
Badgr cannot tell this response is wrong
"The sky is blue during the day" + reference + "." arrived as ".".
"." is non-empty text; Badgr cannot know the rest of the answer is missing. If the caller supplies the expected value (text == "The sky is blue during the day."), Badgr rejects it: response text does not match the expected text. The receipt therefore records success. This is a limit of what the contract can prove, shown here so it is not mistaken for protection.
The output the bug produces, taken from the issue’s reproduction and fed to Badgr’s validators. Not a live provider call.
text: "." tool_calls: none
Written by Badgr’s receipt ledger and read back from GET /v1/receipts/replay-litellm-45378-truncated-text.
{
"request_id": "replay-litellm-45378-truncated-text",
"status": "success",
"endpoint": "/v1/chat/completions",
"stream": false,
"failure_stage": null,
"error_code": null,
"error_message": null,
"retryable": null,
"provider_mode": "replay",
"routing_decision": "replayed_upstream_output",
"created_at": "2026-10-09T02:14:36Z"
}Recorded 2026-10-09 in Badgr’s local development environment. Replay cases and verdicts are pinned by backend/test_ai_api_replay_cases.py.
← All AI API receipts