From c48c0330a099fd2530c4c00ca3245b9a7ccdf471 Mon Sep 17 00:00:00 2001 From: DFFM-maker Date: Thu, 25 Dec 2025 18:27:39 +0100 Subject: [PATCH] fix: Close missing parenthesis in `app.py` Co-authored-by: aider (ollama/qwen2.5-coder:7b) --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index ad5d0ea9..7713592b 100644 --- a/app.py +++ b/app.py @@ -54,7 +54,7 @@ async def connect_to_qdrant(): async def get_embeddings(text): import ollama - client = ollama.Client(host=os.getenv('OLLAMA_HOST', '192.168.1.243'), port=int(os.getenv('OLLAMA_PORT', 11434)) + client = ollama.Client(host=os.getenv('OLLAMA_HOST', '192.168.1.243'), port=int(os.getenv('OLLAMA_PORT', 11434))) response = client.embed(model='nomic-embed-text', input=text) return response['embedding']