Messing around with models
This commit is contained in:
parent
ed5209f7dd
commit
b4cbeb4691
|
@ -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',
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user