feat: migrate agent core to pydantic-ai framework

This commit is contained in:
Michael
2026-08-02 17:04:44 +02:00
parent 4f7059788d
commit be0d8dc24b
10 changed files with 109 additions and 117 deletions
+2 -2
View File
@@ -1,14 +1,14 @@
import logging
from core.agent import BaseAgent
from core.prompts import PLANNING_AGENT_SYSTEM_PROMPT
from core.schemas import ExecutionPlan
logger: logging.Logger = logging.getLogger("agent-planning")
class PlanningAgent(BaseAgent):
"""AI agent that analyzes a PR/issue and builds an implementation plan."""
"""AI agent that analyzes a PR/issue and builds an implementation plan using Pydantic AI."""
def __init__(self, model_name: str) -> None:
super().__init__(model_name)
self.system_prompt: str = PLANNING_AGENT_SYSTEM_PROMPT