mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-11 22:51:10 +00:00
feat(tool): modify execute method to return result in gallery code execution
This commit is contained in:
parent
6d9fb88db3
commit
3520587533
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ class ExecuteCode(BaseTool):
|
|||
)
|
||||
|
||||
async def execute(self):
|
||||
await async_exec_code(self.context.code)
|
||||
return await async_exec_code(self.context.code)
|
||||
|
||||
def execute_sync(self):
|
||||
return exec_code(self.context.code)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue