from pydantic import BaseModel # Planner: QueryAnalysis class QueryAnalysis(BaseModel): consice_summary: str required_skills: str relevant_tools: str additional_considerations: str def __str__(self): return f""" Consice Summary: {self.consice_summary} Required Skills: {self.required_skills} Relevant Tools: {self.relevant_tools} Additional Considerations: {self.additional_considerations} """ # Planner: NextStep class NextStep(BaseModel): justification: str context: str sub_goal: str tool_name: str # Executor: MemoryVerification class MemoryVerification(BaseModel): analysis: str stop_signal: bool # Executor: ToolCommand class ToolCommand(BaseModel): analysis: str explanation: str command: str