mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
That's to centralize the truncation in one place. Next step would be to make only two methods public: one with bytes/lines and one with tokens.
8 lines
243 B
Rust
8 lines
243 B
Rust
mod history;
|
|
mod normalize;
|
|
|
|
pub(crate) use crate::truncate::MODEL_FORMAT_MAX_BYTES;
|
|
pub(crate) use crate::truncate::MODEL_FORMAT_MAX_LINES;
|
|
pub(crate) use crate::truncate::format_output_for_model_body;
|
|
pub(crate) use history::ContextManager;
|