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> |
||
|---|---|---|
| .. | ||
| batches | ||
| chat | ||
| files | ||
| messages | ||
| pass_through | ||
| __init__.py | ||
| anthropic_docs_refusal.py | ||
| test_anthropic_common_utils.py | ||
| test_anthropic_count_tokens_transformation.py | ||
| test_anthropic_files_and_batches.py | ||
| test_anthropic_output_format_filter.py | ||
| test_anthropic_prompt_cache_prediction.py | ||
| test_anthropic_prompt_cache_pricing.py | ||
| test_anthropic_reasoning_effort.py | ||
| test_anthropic_schema_filter.py | ||
| test_anthropic_structured_output.py | ||
| test_anthropic_wif.py | ||
| test_azure_ai_cache_pricing.py | ||
| test_cost_calculation_dict_safety.py | ||
| test_count_tokens_oauth.py | ||
| test_message_sanitization.py | ||
| test_messages_http_error_retry_cases.py | ||