bug: Output truncated: too many lines or bytes
What version of Codex is running?
0.1.2504211509
Which model were you using?
gemini-1.5-pro
What platform is your computer?
Linux 5.15.167.4-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
I'm using Ubuntu 20.04 over WSL on Windows 11. When I use gemini-1.5-pro, and I ask to read a markdown file to create the described project in it, it fails with the message:
[Output truncated: too many lines or bytes]
This is the terminal screenshot (I've omitted the filename, but it is a regular filename)
What is the expected behavior?
Reading the file, sending it to the provider to process and then taking some action locally.
What do you see instead?
No response
Additional information
the message:
[Output truncated: too many lines or bytes]
and it stops running
Some recent changes made this behavior slightly less unpleasant, but the truncation limits are still quite bad.
Until #575 gets pushed through to make it variable through the config, you can try using a series of 250-line tails.
Thank you for the feedback! Please try using the latest version of Codex CLI, as we've been working on improvements and fixes. If the issue persists, let us know. You can also try the native/Rust implementation of Codex CLI for potentially better performance and stability.