mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(main.py): response_format typing for acompletion
Fixes https://github.com/BerriAI/litellm/issues/5239
This commit is contained in:
parent
949646ff49
commit
bc0710a3e6
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ async def acompletion(
|
|||
logit_bias: Optional[dict] = None,
|
||||
user: Optional[str] = None,
|
||||
# openai v1.0+ new params
|
||||
response_format: Optional[dict] = None,
|
||||
response_format: Optional[Union[dict, Type[BaseModel]]] = None,
|
||||
seed: Optional[int] = None,
|
||||
tools: Optional[List] = None,
|
||||
tool_choice: Optional[str] = None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue