feat: Tool executors (#1370)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user