mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-18 09:45:23 +00:00
chore(guardrails): align cast-ok reason wording
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
e0ff2476f0
commit
ff8aa061d0
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue