mirror of
https://github.com/openai/codex.git
synced 2026-11-06 00:30:29 +00:00
Avoid double truncation (#6631)
1. Avoid double truncation by giving 10% above the tool default constant 2. Add tests that fails when const = 1
This commit is contained in:
1 parent
7b027e7536
commit
9890ceb939
7 files changed
+264
-35
No files matched your search
@@ -3,4 +3,6 @@ mod normalize;
|
||||
mod truncate;
|
||||
|
||||
pub(crate) use history::ContextManager;
|
||||
pub(crate) use truncate::MODEL_FORMAT_MAX_BYTES;
|
||||
pub(crate) use truncate::MODEL_FORMAT_MAX_LINES;
|
||||
pub(crate) use truncate::format_output_for_model_body;
|
||||
Reference in new issue
Block a user