mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-29 01:03:17 +00:00
* fix(anthropic): accept temperature=1 on Claude models that removed sampling params get_supported_openai_params dropped temperature for models whose cost-map row says supports_sampling_params false, so the generic unsupported-param check refused temperature=1 before the Anthropic mapping could let it through. Keep temperature listed and leave top_p out, so the mapping accepts 1 and refuses or drops the rest. Supersedes #51398 Co-authored-by: rome-xi <2685138823@qq.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test(anthropic): type the cost map fixture argument in the new temperature tests --------- Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: rome-xi <2685138823@qq.com> |
||
|---|---|---|
| .. | ||
| guardrail_translation | ||
| __init__.py | ||
| conftest.py | ||
| test_anthropic_chat_handler.py | ||
| test_anthropic_chat_transformation.py | ||
| test_code_interpreter_results_extraction.py | ||
| test_transformation.py | ||