Building AI agents, atomically
Fix type hinting in BaseTool.run()
Nate Douglase2b5dac5b81e
diff --git a/atomic-agents/atomic_agents/lib/base/base_tool.py b/atomic-agents/atomic_agents/lib/base/base_tool.pyindex 149b507..b03da84 100644--- a/atomic-agents/atomic_agents/lib/base/base_tool.py+++ b/atomic-agents/atomic_agents/lib/base/base_tool.py@@ -41,7 +41,7 @@ class BaseTool:self.tool_name = config.title or self.input_schema.model_json_schema()["title"]self.tool_description = config.description or self.input_schema.model_json_schema()["description"]- def run(self, params: Type[BaseIOSchema]) -> BaseIOSchema:+ def run(self, params: BaseIOSchema) -> BaseIOSchema:"""Executes the tool with the provided parameters.