mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
Remove redundant OpenAI tool validation
This commit is contained in:
parent
4edb5b9481
commit
4e0572bd13
1 changed files with 0 additions and 1 deletions
|
|
@ -1167,7 +1167,6 @@ def completion( # type: ignore # noqa: PLR0915
|
|||
raise ValueError("model param not passed in.")
|
||||
# validate messages
|
||||
messages = validate_and_fix_openai_messages(messages=messages)
|
||||
tools = validate_and_fix_openai_tools(tools=tools)
|
||||
# validate tool_choice
|
||||
tool_choice = validate_chat_completion_tool_choice(tool_choice=tool_choice)
|
||||
# validate optional params
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue