mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-23 00:41:40 +00:00
model_object_id is documented as "the id returned by the backend API provider", and that is what batches and fine-tuning jobs store there. The background responses create stored the advertised id in it instead, which is encrypted with a fresh nonce on every call, so the row had no stable handle on the generation it describes. The cost poller now reads the provider id straight off the row. Rows written before this still carry the advertised id there, and decrypting is a no-op on an id that is already the provider's, so both shapes resolve through the same call. Claude-Session: https://claude.ai/code/session_01RHAjRxNhXTpKHeGMZ1nDKi |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_endpoints.py | ||