Fix CI issues: add Config class, fix config access patterns, remove unused imports
Some checks failed
CI / test (push) Failing after 12s

This commit is contained in:
2026-02-04 11:38:29 +00:00
parent 6c44275831
commit 1de6193d4b

View File

@@ -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