fix: resolve CI test failures (config access, mocks, imports)
This commit is contained in:
@@ -21,8 +21,8 @@ class OllamaClient:
|
|||||||
model: Model name to use
|
model: Model name to use
|
||||||
"""
|
"""
|
||||||
config = get_config()
|
config = get_config()
|
||||||
self.host = host or config.get("ollama_host", "localhost:11434")
|
self.host = host or config.ollama_host
|
||||||
self.model = model or config.get("ollama_model", "llama3")
|
self.model = model or config.ollama_model
|
||||||
self._client: Optional[ollama.Client] = None
|
self._client: Optional[ollama.Client] = None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|||||||
Reference in New Issue
Block a user