Closed zyzhang1130 closed 1 month ago
self.service_toolkit.parse_and_call_func( formatted_function_call, ) returns a string, which cannot be directly added to self.memory (https://github.com/modelscope/agentscope/blob/bfaf9ed578e8eb34255163dabc9096aa122c5112/src/agentscope/agents/react_agent.py#L225). The fix wraps msg_execution to make it a Msg object.
self.service_toolkit.parse_and_call_func( formatted_function_call, )
self.memory
Please check the following items before code is ready to be reviewed.
The latest version already fixed this issue.
name: Pull Request about: Create a pull request
Description
self.service_toolkit.parse_and_call_func( formatted_function_call, )
returns a string, which cannot be directly added toself.memory
(https://github.com/modelscope/agentscope/blob/bfaf9ed578e8eb34255163dabc9096aa122c5112/src/agentscope/agents/react_agent.py#L225). The fix wraps msg_execution to make it a Msg object.Checklist
Please check the following items before code is ready to be reviewed.