From 3520587533cfdc3695d45d4b1fa59bc68d7dac03 Mon Sep 17 00:00:00 2001 From: "jinli.yl" Date: Sun, 15 Feb 2026 20:40:10 +0800 Subject: [PATCH] feat(tool): modify execute method to return result in gallery code execution --- reme/tool/gallery/execute_code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reme/tool/gallery/execute_code.py b/reme/tool/gallery/execute_code.py index f0319971..262b7f2c 100644 --- a/reme/tool/gallery/execute_code.py +++ b/reme/tool/gallery/execute_code.py @@ -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)