feat: improved UX for tool calls via execute_code (#6205)
This commit is contained in:
@@ -55,8 +55,10 @@ fi
|
||||
if [ "$CODE_EXEC_MODE" = true ]; then
|
||||
echo "Mode: code_execution (JS batching)"
|
||||
BUILTINS="developer,code_execution"
|
||||
# Match "execute_code | code_execution" or "read_module | code_execution" in output
|
||||
SUCCESS_PATTERN="(execute_code \| code_execution)|(read_module \| code_execution)"
|
||||
# Match code_execution tool usage:
|
||||
# - "execute_code | code_execution" or "read_module | code_execution" (fallback format)
|
||||
# - "tool call | execute_code" or "tool calls | execute_code" (new format with tool_graph)
|
||||
SUCCESS_PATTERN="(execute_code \| code_execution)|(read_module \| code_execution)|(tool calls? \| execute_code)"
|
||||
SUCCESS_MSG="code_execution tool called"
|
||||
FAILURE_MSG="no code_execution tools called"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user