Fix #569
This commit is contained in:
parent
7a3f87846b
commit
128dc4731f
1 changed files with 1 additions and 1 deletions
|
@ -772,7 +772,7 @@ class CreateChatCompletionRequest(BaseModel):
|
||||||
temperature: float = temperature_field
|
temperature: float = temperature_field
|
||||||
top_p: float = top_p_field
|
top_p: float = top_p_field
|
||||||
min_p: float = min_p_field
|
min_p: float = min_p_field
|
||||||
stop: Optional[List[str]] = stop_field
|
stop: Optional[Union[str, List[str]]] = stop_field
|
||||||
stream: bool = stream_field
|
stream: bool = stream_field
|
||||||
presence_penalty: Optional[float] = presence_penalty_field
|
presence_penalty: Optional[float] = presence_penalty_field
|
||||||
frequency_penalty: Optional[float] = frequency_penalty_field
|
frequency_penalty: Optional[float] = frequency_penalty_field
|
||||||
|
|
Loading…
Reference in a new issue