mirror of
https://github.com/openai/codex.git
synced 2026-11-04 00:24:43 +00:00
1. Avoid double truncation by giving 10% above the tool default constant 2. Add tests that fails when const = 1
9 lines
236 B
Rust
9 lines
236 B
Rust
mod history;
|
|
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;
|