shell_command returns freeform output (#6860)

Instead of returning structured out and then re-formatting it into
freeform, return the freeform output from shell_command tool.

Keep `shell` as the default tool for GPT-5.
This commit is contained in:
pakrym-oai authored and GitHub committed 2025-11-18 23:38:43 -08:00
1 parent 7e0e675db4
commit ee0484a98c
10 files changed
+215 -85

No files matched your search

+1 -1
View File
@@ -235,7 +235,7 @@ fn truncate_with_byte_estimate(s: &str, max_bytes: usize, source: TruncationSour
out
}
fn truncate_formatted_exec_output(
pub(crate) fn truncate_formatted_exec_output(
content: &str,
total_lines: usize,
limit_bytes: usize,