diff --git a/aider_gitea/__init__.py b/aider_gitea/__init__.py index 2e67cc9..b87b2ed 100644 --- a/aider_gitea/__init__.py +++ b/aider_gitea/__init__.py @@ -136,20 +136,15 @@ For code tasks: 3. Then, solve the issue by writing the required code. """ -# MODEL = 'ollama/gemma3:27b' -# MODEL = 'ollama_chat/gemma3:27b' - +MODEL = None def create_aider_command(issue: str) -> list[str]: - return [ + l = [ 'aider', '--chat-language', 'english', - '--cache-prompts', '--no-stream', '--no-analytics', - #'--model', - # MODEL, '--test-cmd', AIDER_TEST, '--lint-cmd', @@ -163,9 +158,20 @@ def create_aider_command(issue: str) -> list[str]: '--message', LLM_MESSAGE_FORMAT.format(issue=issue), '--yes-always', - #'--architect', ] + if False: + l.append('--cache-prompts') + + if False: + l.append('--architect') + + if MODEL: + l.append('--model') + l.append(MODEL) + + return l + def push_changes( cwd: Path,