mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-05 01:59:27 +00:00
* fix(responses): forward reasoning.effort for a Router deployment the cost map has never listed The Router registers every deployment under its shared backend key, and for a model the cost map does not list that row is empty. The reasoning gate read the empty row as a known model without supports_reasoning and refused reasoning.effort, so the fail-open path for unknown models was unreachable through the Router and the proxy. A row that names no provider is now treated as unknown. Fixes #55919 * fix(responses): tell a Router-registered row from a catalog row by the catalog, not the provider field A second deployment of the same backend model writes the resolved provider back onto the shared row, so the provider field could not tell the two apart. * test(messages): expect effort none on the Responses bridge for a Router deployment of an unlisted model Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * docs(responses): say when a resolved model with no reasoning flag is still treated as unknown 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> |
||
|---|---|---|
| .. | ||
| count_tokens | ||
| __init__.py | ||
| test_openai_count_tokens_transformation.py | ||
| test_openai_responses_data_residency.py | ||
| test_openai_responses_guardrail_handler.py | ||
| test_openai_responses_guardrail_tool_merge.py | ||
| test_openai_responses_http.py | ||
| test_openai_responses_transformation.py | ||