Hide raw tool output unless --debug flag is specified

parent 59a9eb85
...@@ -710,8 +710,8 @@ class CoderClient: ...@@ -710,8 +710,8 @@ class CoderClient:
pass # Already printed "Skipped" pass # Already printed "Skipped"
else: else:
print(f"{Colors.GREEN}Success{Colors.RESET}") print(f"{Colors.GREEN}Success{Colors.RESET}")
# Show command output for execute_command # Show command output for execute_command only in debug mode
if tool_name == 'execute_command' and 'stdout' in result: if self.config.debug and tool_name == 'execute_command' and 'stdout' in result:
stdout = result['stdout'].strip() stdout = result['stdout'].strip()
if stdout: if stdout:
# Show first few lines of output # Show first few lines of output
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment