We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 935839a commit c971069Copy full SHA for c971069
1 file changed
src/smolagents/bp_tools_tmux.py
@@ -92,7 +92,7 @@ def forward(self, session_name: str, command: str | None = None) -> str:
92
"new-session", "-d", "-s", full, "-x", "200", "-y", "50", cmd,
93
)
94
if result.returncode != 0:
95
- return f"ERROR: {result.stderr.strip()}"
+ return f"ERROR: {result.stderr.strip().replace(TMUX_PREFIX, '')}"
96
return f"Session '{session_name}' created."
97
98
0 commit comments