refactor #1

Open
roberto wants to merge 12 commits from feature/refactor-code into main
Showing only changes of commit 2aa3e7cddf - Show all commits

View File

@@ -17,7 +17,7 @@ class OllamaClient:
"stream": False, "stream": False,
"options": {"temperature": 0}, "options": {"temperature": 0},
} }
with httpx.Client(timeout=60) as client: with httpx.Client(timeout=600) as client:
response = client.post(url, json=payload) response = client.post(url, json=payload)
response.raise_for_status() response.raise_for_status()
data = response.json() data = response.json()