· ai
LiteLLM
Code Flow:
_prepare_completion_kwargs() # litellm.llms.anthropic.experimental_pass_through.adapters.handler
translate_completion_input_params() # litellm.llms.anthropic.experimental_pass_through.adapters.transformation
translate_anthropic_to_openai()
translatable_anthropic_params()
_prepare_completion_kwargsto excludeoutput_configto resolveoutput_configissue.litellm.llms.openai.openaiasync_streaming->make_openai_chat_completion_requestto force adddata["reasoning_effort"] = "none"to resolvereasoning_effortissue.
Should set CLAUDE_CODE_USE_BEDROCK=0 or no set it because it is for bedrock.
Should set CLAUDE_CODE_AUTO_MODE_SERVER=0 to avoid https://code.claude.com/docs/en/auto-mode-classifier-billing.