mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-28 00:00:38 +00:00
* refactor(types): read kwargs through typed narrowing in router strategies, batch completion, rag and bridge handlers Types the bare kwargs of eight modules as object and narrows each read with the existing core_helpers readers, with no change for valid values, absent keys or wrong-typed values (base and tip probed) Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * refactor(types): keep the sync anthropic messages handler's kwargs untyped Its forwarded keys reach typed adapter parameters that cannot be narrowed without changing wrong-typed values, so the type-erasing forwarding wrapper is removed and that handler is left as on main 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> |
||
|---|---|---|
| .. | ||
| litellm_responses_transformation | ||
| __init__.py | ||
| README.md | ||
Logic specific for litellm.completion.
Includes:
- Bridge for transforming completion requests to responses api requests