mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 04:16:34 +00:00
Fix missing return value
This commit is contained in:
1 parent
8c87127ffb
commit
27279cb635
1 file changed
+1
-1
+1
-1
@@ -55,7 +55,7 @@ def make_tool(
|
||||
|
||||
def execute_fn(ctx: Context, *args, **kwargs) -> str: # type: ignore
|
||||
mark_used(ctx)
|
||||
tool.apply_ex(*args, log_call=True, catch_exceptions=True, **kwargs)
|
||||
return tool.apply_ex(*args, log_call=True, catch_exceptions=True, **kwargs)
|
||||
|
||||
return MCPTool(
|
||||
fn=execute_fn,
|
||||
|
||||
Reference in new issue
Block a user