mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
Preserve large gRPC code-mode tool errors (#38621)
## 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
This commit is contained in:
committed by
copyberry
parent
395723b238
commit
478215c5c1
@@ -5,4 +5,3 @@ pub use code_mode_proto::codex::code_mode::v1::*;
|
||||
tonic::include_proto!("codex.code_mode.v1");
|
||||
|
||||
pub const MAX_IDENTIFIER_BYTES: usize = 256;
|
||||
pub const MAX_TOOL_ERROR_BYTES: usize = 64 * 1_024;
|
||||
|
||||
Reference in New Issue
Block a user