mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
Add bedrock (bedrock/us.anthropic.claude-haiku-4-5) to the negative-spend sweep, the surface BerriAI/litellm#25846's negative streaming-cost bug actually lived on, and register it in the suite's driver_models with AWS creds rather than a single api_key. Rework the sweep constants into a small frozen _SweepModel(call, row_marker) so a friendly bedrock alias whose spend row resolves to bedrock/us.anthropic... still matches; the two claude markers are prefix-qualified so a bedrock-anthropic row can't stand in for anthropic-direct or vice versa. |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| spend_e2e_client.py | ||
| SPEND_TRACKING_COVERAGE_MATRIX.md | ||
| test_spend_routes.py | ||
| test_spend_tracking_e2e.py | ||