Building AI agents, atomically
updating imports for orchestrator atomic example
jon foxa74dad4e6922
diff --git a/atomic-examples/orchestration-agent/orchestration_agent/orchestrator.py b/atomic-examples/orchestration-agent/orchestration_agent/orchestrator.pyindex d848a0c..953ee0d 100644--- a/atomic-examples/orchestration-agent/orchestration_agent/orchestrator.py+++ b/atomic-examples/orchestration-agent/orchestration_agent/orchestrator.py@@ -2,7 +2,7 @@ from typing import Unionimport openaifrom pydantic import Fieldfrom atomic_agents import BaseAgent, BaseAgentConfig, BaseIOSchema-from atomic_agents.components import SystemPromptGenerator, SystemPromptContextProviderBase+from atomic_agents.context import SystemPromptGenerator, BaseDynamicContextProviderfrom orchestration_agent.tools.searxng_search import (SearXNGSearchTool,@@ -58,7 +58,7 @@ class OrchestratorAgentConfig(BaseAgentConfig):###################### CONTEXT PROVIDERS ######################-class CurrentDateProvider(SystemPromptContextProviderBase):+class CurrentDateProvider(BaseDynamicContextProvider):def __init__(self, title):super().__init__(title)self.date = datetime.now().strftime("%Y-%m-%d")