From bae3d509c3e833dbc9d353538e06beabb24a0fde Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Wed, 4 Feb 2026 19:06:14 +0000 Subject: [PATCH] fix: resolve CI issues - clean up unused imports and fix linting errors --- app/src/git_commit_generator/ollama_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/git_commit_generator/ollama_client.py b/app/src/git_commit_generator/ollama_client.py index 1a8635b..5a3f821 100644 --- a/app/src/git_commit_generator/ollama_client.py +++ b/app/src/git_commit_generator/ollama_client.py @@ -109,7 +109,7 @@ class OllamaClient: List of available models with their details. """ try: - response = ollama_client.list() + response = ollama_lib.list() return response.get("models", []) except Exception: return [] @@ -135,7 +135,7 @@ def get_ollama_client(host: str = "http://localhost:11434", model: str = "llama3 Args: host: Ollama server URL. - model: HTTP_HOST, model to use. + model: Default model to use. Returns: OllamaClient instance.