mirror of
https://github.com/openai/codex.git
synced 2026-12-05 01:00:54 +00:00
## Why Code-mode tool failure messages larger than 64 KiB were truncated before they reached the host. ## What changed - Remove the tool error size limit from the gRPC protocol and host validation. - Forward failed tool completion messages without truncation. ## Testing - Verify that a multibyte error larger than 64 KiB is preserved exactly. GitOrigin-RevId: 264ae4ba4adea5c19b669e4f41ccfd41a0c30fb5
8 lines
187 B
Rust
8 lines
187 B
Rust
#[cfg(codex_bazel)]
|
|
pub use code_mode_proto::codex::code_mode::v1::*;
|
|
|
|
#[cfg(not(codex_bazel))]
|
|
tonic::include_proto!("codex.code_mode.v1");
|
|
|
|
pub const MAX_IDENTIFIER_BYTES: usize = 256;
|