diff --git a/litellm/llms/openai/chat/guardrail_translation/handler.py b/litellm/llms/openai/chat/guardrail_translation/handler.py index 095a3f29d2b..041d2fe1bfd 100644 --- a/litellm/llms/openai/chat/guardrail_translation/handler.py +++ b/litellm/llms/openai/chat/guardrail_translation/handler.py @@ -317,7 +317,7 @@ class OpenAIChatCompletionsHandler(BaseTranslation): inputs["tools"] = cast("list[ChatCompletionToolParam]", tools) # cast-ok: raw request json model: Final = data.get("model") if model: - inputs["model"] = cast("str", model) # cast-ok: base forwarded the raw model value + inputs["model"] = cast("str", model) # cast-ok: raw request json return inputs, structured_messages, scoped_message_indices def _not_run_reason(