Files
coding-agent-gitea/core/coding_agent.py
T
Michael Ingvarsson 88d9ac2105 deduplicate
2026-07-16 12:12:08 +02:00

15 lines
426 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: str = CODING_AGENT_SYSTEM_PROMPT