forked from phoenix/litellm-mirror
fix(main.py): fix linting error for python3.8
This commit is contained in:
parent
37dc359efb
commit
c0ef2e9dd0
1 changed files with 2 additions and 1 deletions
|
@ -31,6 +31,7 @@ from typing import (
|
||||||
Literal,
|
Literal,
|
||||||
Mapping,
|
Mapping,
|
||||||
Optional,
|
Optional,
|
||||||
|
Type,
|
||||||
Union,
|
Union,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -608,7 +609,7 @@ def completion(
|
||||||
logit_bias: Optional[dict] = None,
|
logit_bias: Optional[dict] = None,
|
||||||
user: Optional[str] = None,
|
user: Optional[str] = None,
|
||||||
# openai v1.0+ new params
|
# openai v1.0+ new params
|
||||||
response_format: Optional[Union[dict, type[BaseModel]]] = None,
|
response_format: Optional[Union[dict, Type[BaseModel]]] = None,
|
||||||
seed: Optional[int] = None,
|
seed: Optional[int] = None,
|
||||||
tools: Optional[List] = None,
|
tools: Optional[List] = None,
|
||||||
tool_choice: Optional[Union[str, dict]] = None,
|
tool_choice: Optional[Union[str, dict]] = None,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue