From 247b5d849dd18a637bacda05220b74e70f73631d Mon Sep 17 00:00:00 2001 From: Dustin Date: Wed, 14 Aug 2024 22:56:25 -0400 Subject: [PATCH] increased timeout (larger models take longer) --- ollamarama.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ollamarama.py b/ollamarama.py index b16e163..e470a40 100644 --- a/ollamarama.py +++ b/ollamarama.py @@ -112,7 +112,7 @@ class ollamarama: "repeat_penalty": self.repeat_penalty } } - response = requests.post(self.api_url, json=data, timeout=120) + response = requests.post(self.api_url, json=data, timeout=300) #may need to increase for larger models response.raise_for_status() data = response.json()