mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-03 01:38:46 +00:00
* fix(anthropic_adapter): keep reasoning_effort a string for targets that stay on chat completions * fix(anthropic_adapter): judge the summary bridge with the deployment's api_base The adapter's bridge check now resolves the provider and base the same way completion() does, passing the deployment's api_base and api_key into get_llm_provider and the resolved base into the bridge check, so a Foundry deployment lands on the same route in both places and a bare model name routed by its api_base still gets the plain tier. A litellm_proxy target keeps the dict, since the upstream gateway makes its own bridge decision and needs the summary to make it. * refactor(anthropic_adapter): return the plain effort instead of writing it inside the helper --------- Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| batches | ||
| chat | ||
| experimental_pass_through | ||
| files | ||
| __init__.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_reasoning_effort.py | ||
| test_anthropic_schema_filter.py | ||
| test_anthropic_structured_output.py | ||
| test_azure_ai_cache_pricing.py | ||
| test_cost_calculation_dict_safety.py | ||
| test_count_tokens_oauth.py | ||
| test_message_sanitization.py | ||