Provide register_tools to the base research agent
This commit is contained in:
parent
3abe669681
commit
ad7a9ed324
4 changed files with 0 additions and 16 deletions
|
|
@ -75,7 +75,6 @@ class BaseResearchAgent[T](ABC):
|
||||||
"""Return the system prompt for this agent."""
|
"""Return the system prompt for this agent."""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@abstractmethod
|
|
||||||
def register_tools(self) -> None:
|
def register_tools(self) -> None:
|
||||||
"""Register agent-specific tools."""
|
"""Register agent-specific tools."""
|
||||||
pass
|
pass
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,3 @@ class AnalysisEvaluationAgent(BaseResearchAgent[EvaluationResult]):
|
||||||
|
|
||||||
def get_system_prompt(self) -> str:
|
def get_system_prompt(self) -> str:
|
||||||
return EVALUATION_AGENT_PROMPT
|
return EVALUATION_AGENT_PROMPT
|
||||||
|
|
||||||
def register_tools(self) -> None:
|
|
||||||
"""No additional tools needed - uses LLM capabilities directly."""
|
|
||||||
pass
|
|
||||||
|
|
|
||||||
|
|
@ -53,11 +53,6 @@ class ResearchOrchestrator(BaseResearchAgent[ResearchPlan]):
|
||||||
def get_system_prompt(self) -> str:
|
def get_system_prompt(self) -> str:
|
||||||
return ORCHESTRATOR_PROMPT
|
return ORCHESTRATOR_PROMPT
|
||||||
|
|
||||||
def register_tools(self) -> None:
|
|
||||||
"""Register orchestration tools."""
|
|
||||||
# Tools are no longer needed - orchestrator directly calls agents
|
|
||||||
pass
|
|
||||||
|
|
||||||
def _format_context_for_prompt(self, context: ResearchContext) -> str:
|
def _format_context_for_prompt(self, context: ResearchContext) -> str:
|
||||||
"""Format the research context as XML for inclusion in prompts."""
|
"""Format the research context as XML for inclusion in prompts."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,9 +32,3 @@ class SynthesisAgent(BaseResearchAgent[ResearchReport]):
|
||||||
|
|
||||||
def get_system_prompt(self) -> str:
|
def get_system_prompt(self) -> str:
|
||||||
return SYNTHESIS_AGENT_PROMPT
|
return SYNTHESIS_AGENT_PROMPT
|
||||||
|
|
||||||
def register_tools(self) -> None:
|
|
||||||
"""Register synthesis-specific tools."""
|
|
||||||
# The agent will use its LLM capabilities directly for synthesis
|
|
||||||
# The structured output will guide the report generation
|
|
||||||
pass
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue