AI API receipt · BerriAI/litellm
BerriAI/litellm#45380 · upstream bug reproduced by running the issue's own reproduction
Badgr cannot tell this response is wrong
The Bedrock stream completed normally; only the gateway's own success callbacks silently never ran.
the client's response is complete and valid; the skipped callbacks happen inside the gateway, where Badgr has no view. 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.
data: {"choices": [{"index": 0, "delta": {"content": "Hello"}, "finish_reason": null}]}
data: {"choices": [{"index": 0, "delta": {"content": " there"}, "finish_reason": "stop"}]}
data: [DONE]Written by Badgr’s receipt ledger and read back from GET /v1/receipts/replay-litellm-45380-redis-skips-success-callbacks.
{
"request_id": "replay-litellm-45380-redis-skips-success-callbacks",
"status": "success",
"endpoint": "/v1/chat/completions",
"stream": true,
"failure_stage": null,
"error_code": null,
"error_message": null,
"retryable": null,
"provider_mode": "replay",
"routing_decision": "replayed_upstream_output",
"created_at": "1791524108.896697"
}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