From 1de6193d4be455635af0453abc0495340c4c08f4 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Wed, 4 Feb 2026 11:38:29 +0000 Subject: [PATCH] Fix CI issues: add Config class, fix config access patterns, remove unused imports --- shellgenius/ollama_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shellgenius/ollama_client.py b/shellgenius/ollama_client.py index 733aaf6..fc99748 100644 --- a/shellgenius/ollama_client.py +++ b/shellgenius/ollama_client.py @@ -21,8 +21,8 @@ class OllamaClient: model: Model name to use """ config = get_config() - self.host = host or config.ollama_host - self.model = model or config.ollama_model + self.host = host or config.get("ollama_host", "localhost:11434") + self.model = model or config.get("ollama_model", "llama3") self._client: Optional[ollama.Client] = None @property