-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
App Version
3.10.5
API Provider
Google Gemini
Model Used
2.5 pro
Actual vs. Expected Behavior
Actual Behavior:
From time to time, when requesting the execution of a shell command containing the && operator for command chaining via the execute_command tool, the tool appears to incorrectly XML-encode the && as && before passing it to the shell. This results in a shell parse error.
Expected Behavior:
The command string provided within the <command> tag of the execute_command tool should be passed directly to the user's shell without unintended XML encoding of shell metacharacters like &&. The shell should receive && literally to correctly interpret it as a command chaining operator.
Detailed Steps to Reproduce
- Request the execution of a chained shell command using
&&. For example:rm -rf some_directory && python some_script.py - Use the
execute_commandtool with the command string:
Relevant API Request Output
Additional Context
No response
dosubot, jfelding, c0h1b4 and sghael
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working