mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 08:07:55 +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):
|
||||
model: str
|
||||
prompt: str
|
||||
suffix: Optional[str] = None
|
||||
images: Optional[list[str]] = None
|
||||
format: Optional[str] = None
|
||||
options: Optional[dict] = None
|
||||
|
Loading…
Reference in New Issue
Block a user