Messing around with models
All checks were successful
Run Python tests (through Pytest) / Test (push) Successful in 25s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 22s

This commit is contained in:
Jon Michael Aanes 2025-04-13 23:00:02 +02:00
parent ed5209f7dd
commit b4cbeb4691

View File

@ -60,20 +60,15 @@ The tool uses environment variables for sensitive information:
```
"""
import argparse
import logging
import re
import subprocess
import sys
import tempfile
import time
from pathlib import Path
import requests
from . import secrets
from ._version import __version__ # noqa: F401
from .seen_issues_db import SeenIssuesDB
logger = logging.getLogger(__name__)
@ -127,10 +122,13 @@ For code tasks:
3. Then, solve the issue by writing the required code.
"""
#MODEL = 'ollama/gemma3:27b'
MODEL = 'ollama_chat/gemma3:27b'
def create_aider_command(issue: str) -> list[str]:
return [
'aider',
'--model', MODEL ,
'--chat-language',
'english',
'--test-cmd',
@ -139,14 +137,14 @@ def create_aider_command(issue: str) -> list[str]:
AIDER_LINT,
'--auto-test',
'--no-auto-lint',
'--api-key',
secrets.llm_api_key(),
#'--api-key',
#secrets.llm_api_key(),
'--read',
'CONVENTIONS.md',
'--message',
LLM_MESSAGE_FORMAT.format(issue=issue),
'--yes-always',
'--architect',
#'--architect',
]