(self, tools)
| 77 | return tool |
| 78 | |
| 79 | def initialize(self, tools): |
| 80 | for tool in tools: |
| 81 | if isinstance(tool, Tool): |
| 82 | self.tools.append(tool) |
| 83 | |
| 84 | self.agent_ = initialize_agent( |
| 85 | self.tools, |
| 86 | self.llm, |
| 87 | agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, |
| 88 | verbose=True |
| 89 | ) |
| 90 | |
| 91 | def run(self, query: str) -> Optional[str]: |
| 92 | response = None |
nothing calls this directly
no outgoing calls
no test coverage detected