mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-02 01:28:38 +00:00
An extra_body max_tokens above the request's answers 400 unless drop_params
is on, which caps it, so the output tokens the limiters reserved still bound
the call. Keys litellm builds that extra_body tries to set are dropped with a
warning under drop_params. Azure AI sends extra_body.system as the system
prompt, since litellm moves a top-level system kwarg there. extra_body
output_config now wins over the mapped one, and transform_request no longer
pops extra_body from the caller's optional_params.
Ported from
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_amazon_moonshot_transformation.py | ||
| test_amazon_nova_transformation.py | ||
| test_amazon_openai_transformation.py | ||
| test_amazon_qwen2_transformation.py | ||
| test_amazon_qwen3_transformation.py | ||
| test_base_invoke_transformation.py | ||
| test_bedrock_chat_invoke_transformations_anthropic_claude3_transformation.py | ||
| test_twelvelabs_pegasus_transformation.py | ||