mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
refac
This commit is contained in:
parent
f0feb7bd35
commit
38291e9af2
1 changed files with 1 additions and 1 deletions
|
|
@ -944,7 +944,7 @@ class ChatMessage(BaseModel):
|
|||
class GenerateChatCompletionForm(BaseModel):
|
||||
model: str
|
||||
messages: list[ChatMessage]
|
||||
format: Optional[dict] = None
|
||||
format: Optional[Union[dict, str]] = None
|
||||
options: Optional[dict] = None
|
||||
template: Optional[str] = None
|
||||
stream: Optional[bool] = True
|
||||
|
|
|
|||
Loading…
Reference in a new issue