From d77991a54343d7a2ed02edc34fa5bb84c83bbaeb Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Mon, 14 Apr 2025 23:40:19 +0200 Subject: [PATCH] Messing around with models --- aider_gitea/__init__.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/aider_gitea/__init__.py b/aider_gitea/__init__.py index 04caf41..3252a44 100644 --- a/aider_gitea/__init__.py +++ b/aider_gitea/__init__.py @@ -74,6 +74,7 @@ import sys import tempfile from pathlib import Path +from . import secrets from ._version import __version__ # noqa: F401 logger = logging.getLogger(__name__) @@ -129,7 +130,7 @@ For code tasks: """ # MODEL = 'ollama/gemma3:27b' -MODEL = 'ollama_chat/gemma3:27b' +#MODEL = 'ollama_chat/gemma3:27b' def create_aider_command(issue: str) -> list[str]: @@ -137,18 +138,18 @@ def create_aider_command(issue: str) -> list[str]: 'aider', '--chat-language', 'english', - '--cache-prompts' - '--no-stream' - '--model', - MODEL, + '--cache-prompts', + '--no-stream', + #'--model', + #MODEL, '--test-cmd', AIDER_TEST, '--lint-cmd', AIDER_LINT, '--auto-test', '--no-auto-lint', - #'--api-key', - # secrets.llm_api_key(), + '--api-key', + secrets.llm_api_key(), '--read', 'CONVENTIONS.md', '--message',