feat: Tool executors (#1370)

This commit is contained in:
Matthew Zhou
2025-03-23 15:56:54 -07:00
committed by GitHub
parent 08218112d1
commit 10803b52cd
5 changed files with 266 additions and 119 deletions

View File

@@ -14,7 +14,8 @@ def send_message(self: "Agent", message: str) -> Optional[str]:
Optional[str]: None is always returned as this function does not produce a response.
"""
# FIXME passing of msg_obj here is a hack, unclear if guaranteed to be the correct reference
self.interface.assistant_message(message) # , msg_obj=self._messages[-1])
if self.interface:
self.interface.assistant_message(message) # , msg_obj=self._messages[-1])
return None