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 34s

This commit is contained in:
Jon Michael Aanes 2025-04-14 23:40:19 +02:00
parent 5d2e003a39
commit d77991a543

View File

@ -74,6 +74,7 @@ import sys
import tempfile import tempfile
from pathlib import Path from pathlib import Path
from . import secrets
from ._version import __version__ # noqa: F401 from ._version import __version__ # noqa: F401
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
@ -129,7 +130,7 @@ For code tasks:
""" """
# MODEL = 'ollama/gemma3:27b' # MODEL = 'ollama/gemma3:27b'
MODEL = 'ollama_chat/gemma3:27b' #MODEL = 'ollama_chat/gemma3:27b'
def create_aider_command(issue: str) -> list[str]: def create_aider_command(issue: str) -> list[str]:
@ -137,18 +138,18 @@ def create_aider_command(issue: str) -> list[str]:
'aider', 'aider',
'--chat-language', '--chat-language',
'english', 'english',
'--cache-prompts' '--cache-prompts',
'--no-stream' '--no-stream',
'--model', #'--model',
MODEL, #MODEL,
'--test-cmd', '--test-cmd',
AIDER_TEST, AIDER_TEST,
'--lint-cmd', '--lint-cmd',
AIDER_LINT, AIDER_LINT,
'--auto-test', '--auto-test',
'--no-auto-lint', '--no-auto-lint',
#'--api-key', '--api-key',
# secrets.llm_api_key(), secrets.llm_api_key(),
'--read', '--read',
'CONVENTIONS.md', 'CONVENTIONS.md',
'--message', '--message',