mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 16:22:44 +00:00
refac: add suffix field to ollama generate form
This commit is contained in:
parent
1c0327ed7f
commit
d587206929
@ -837,6 +837,7 @@ async def generate_ollama_batch_embeddings(
|
|||||||
class GenerateCompletionForm(BaseModel):
|
class GenerateCompletionForm(BaseModel):
|
||||||
model: str
|
model: str
|
||||||
prompt: str
|
prompt: str
|
||||||
|
suffix: Optional[str] = None
|
||||||
images: Optional[list[str]] = None
|
images: Optional[list[str]] = None
|
||||||
format: Optional[str] = None
|
format: Optional[str] = None
|
||||||
options: Optional[dict] = None
|
options: Optional[dict] = None
|
||||||
|
Loading…
Reference in New Issue
Block a user