Merge pull request #6473 from HaldiH/patch-1

fix: generate endpoint form model
This commit is contained in:
Timothy Jaeryang Baek 2024-10-27 16:26:51 -07:00 committed by GitHub
commit 9a81e34fe1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -692,7 +692,7 @@ class GenerateCompletionForm(BaseModel):
options: Optional[dict] = None options: Optional[dict] = None
system: Optional[str] = None system: Optional[str] = None
template: Optional[str] = None template: Optional[str] = None
context: Optional[str] = None context: Optional[list[int]] = None
stream: Optional[bool] = True stream: Optional[bool] = True
raw: Optional[bool] = None raw: Optional[bool] = None
keep_alive: Optional[Union[int, str]] = None keep_alive: Optional[Union[int, str]] = None