mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-03 01:38:46 +00:00
* refactor(types): parameterize the bare list and dict fields of StandardLoggingPayload Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(argilla): flatten response parsing to clear TRY002, add regression tests for non-mapping choices The else branch in get_str_response added one TRY002 over the merge-base ceiling. Tests cover a first choice or message that is not a mapping in Argilla, Datadog LLM Obs, Literal AI and New Relic Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * refactor(custom_logger): build the truncated logging payload in one expression Replaces the three in-place assignments on the copy with read-only partial TypedDicts spread into the returned payload Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(argilla): report an empty choices list as an invalid response format An empty list reached choices[0] and raised IndexError instead of the logger's own error Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * refactor(types): mark request_tags read-only and document the three logging fields that stay writable Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_newrelic.py | ||
| test_newrelic_metrics.py | ||
| test_newrelic_team_handler.py | ||