Skip to content

Commit 42ad6de

Browse files
fix: reduce maximum tool use response size to 400,000 (#243)
1 parent f6d9694 commit 42ad6de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/chat-cli/src/cli/chat/consts.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ pub const MAX_CURRENT_WORKING_DIRECTORY_LEN: usize = 256;
88
pub const MAX_CONVERSATION_STATE_HISTORY_LEN: usize = 250;
99

1010
/// Actual service limit is 800_000
11-
pub const MAX_TOOL_RESPONSE_SIZE: usize = 600_000;
11+
pub const MAX_TOOL_RESPONSE_SIZE: usize = 400_000;
1212

1313
/// Actual service limit is 600_000
14-
pub const MAX_USER_MESSAGE_SIZE: usize = 600_000;
14+
pub const MAX_USER_MESSAGE_SIZE: usize = 400_000;
1515

1616
/// In tokens
1717
pub const CONTEXT_WINDOW_SIZE: usize = 200_000;

0 commit comments

Comments
 (0)