From d58720692956cf630d491a1cc6d6602f52fb6044 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 21 Nov 2024 08:12:19 -0800 Subject: [PATCH] refac: add suffix field to ollama generate form --- backend/open_webui/apps/ollama/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/open_webui/apps/ollama/main.py b/backend/open_webui/apps/ollama/main.py index e051d6646..c13a1cbc3 100644 --- a/backend/open_webui/apps/ollama/main.py +++ b/backend/open_webui/apps/ollama/main.py @@ -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