Files
coding-agent-gitea/core/coding_agent.py
T
michael edc8415571 refactor: clean up agent architecture and coordination loop
Squash merged refactoring of agent architecture.
2026-06-29 22:44:06 +02:00

14 lines
420 B
Python

import logging
from core.agent import BaseAgent
from .coding_prompt import CODING_AGENT_SYSTEM_PROMPT
logger: logging.Logger = logging.getLogger("agent-coding")
class CodingAgent(BaseAgent):
"""AI agent that interacts with LMStudio models and tools for coding tasks."""
def __init__(self, model_name: str) -> None:
super().__init__(model_name)
self.system_prompt = CODING_AGENT_SYSTEM_PROMPT