From 9f190cf846a9874bc33a469c5ad56a728f9e47e1 Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Tue, 19 Dec 2023 22:59:14 +0000 Subject: [PATCH] OLLAMA calls working!!! --- agent-py-bot/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent-py-bot/agent.py b/agent-py-bot/agent.py index 7eb03ff..36fa209 100644 --- a/agent-py-bot/agent.py +++ b/agent-py-bot/agent.py @@ -46,7 +46,7 @@ async def query_llm_simple(user_message): data = { "model": "llama2", "messages": [{"role": "user", "content": user_message}], - "stream": "false" + "stream": False } response = requests.post(LLM_ENDPOINT, json=data) if response.status_code == 200: