Building AI agents, atomically
make steps and output instructions optional in SystemPromptInfo
KennyVaneetvelde8d761480bdf4
diff --git a/atomic_agents/lib/components/system_prompt_generator.py b/atomic_agents/lib/components/system_prompt_generator.pyindex 0173811..1a8d5cf 100644--- a/atomic_agents/lib/components/system_prompt_generator.py+++ b/atomic_agents/lib/components/system_prompt_generator.py@@ -14,8 +14,8 @@ class SystemPromptContextProviderBase(ABC):@dataclassclass SystemPromptInfo:background: List[str]- steps: List[str]- output_instructions: List[str]+ steps: Optional[List[str]] = field(default_factory=list)+ output_instructions: Optional[List[str]] = field(default_factory=list)context_providers: Optional[Dict[str, SystemPromptContextProviderBase]] = field(default_factory=dict)class SystemPromptGenerator: