Move shell to use truncate_text (#6842)

Move shell to use the configurable `truncate_text`

---------

Co-authored-by: pakrym-oai <pakrym@openai.com>
This commit is contained in:
Ahmed Ibrahimandpakrym-oai authored and GitHub committed 2025-11-19 01:56:08 -08:00
1 parent 75f38f16dd
commit efebc62fb7
16 files changed
+583 -498

No files matched your search

+2 -1
View File
@@ -2479,8 +2479,9 @@ mod tests {
duration: StdDuration::from_secs(1),
timed_out: true,
};
let (_, turn_context) = make_session_and_context();
let out = format_exec_output_str(&exec);
let out = format_exec_output_str(&exec, turn_context.truncation_policy);
assert_eq!(
out,