Add a test runner and 2 very simple tests for agents

This commit is contained in:
Ashwin Bharambe 2024-09-19 12:05:36 -07:00
parent 543222ac39
commit abb43936ab
9 changed files with 243 additions and 5 deletions

View file

@ -619,6 +619,7 @@ class ChatAgent(ShieldRunnerMixin):
else:
return True
print(f"{enabled_tools=}")
return AgentTool.memory.value in enabled_tools
def _memory_tool_definition(self) -> Optional[MemoryToolDefinition]: