mirror of
https://github.com/openai/codex.git
synced 2026-11-03 16:23:51 +00:00
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:
1 parent
75f38f16dd
commit
efebc62fb7
16 files changed
+583
-498
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user