The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
refactor(together_ai): build the trimmed supported-params list without mutating the inherited list
mateo-berri32ebfba5ed78
diff --git a/litellm/llms/together_ai/chat/transformation.py b/litellm/llms/together_ai/chat/transformation.pyindex eb0954bceef..88fd79f2366 100644--- a/litellm/llms/together_ai/chat/transformation.py+++ b/litellm/llms/together_ai/chat/transformation.py@@ -30,10 +30,9 @@ class TogetherAIChatConfig(OpenAIGPTConfig):verbose_logger.debug("Only some together models support function calling/response_format. Docs - https://docs.together.ai/docs/function-calling")- for param in FUNCTION_CALLING_ONLY_PARAMS:- if param in supported_params:- supported_params.remove(param)- return supported_params+ return [ # mutable-ok: the inherited contract returns a plain list; building fresh avoids mutating the base class's value+ param for param in supported_params if param not in FUNCTION_CALLING_ONLY_PARAMS+ ]def map_openai_params(self,