mirror of
https://github.com/aljazceru/goose.git
synced 2026-02-17 04:24:31 +01:00
fix: increase limit for direct to disk for performance (#2762)
This commit is contained in:
@@ -3,8 +3,7 @@ use mcp_core::{Content, ToolError};
|
||||
use std::fs::File;
|
||||
use std::io::Write;
|
||||
|
||||
// Constant for the size threshold (20K characters)
|
||||
const LARGE_TEXT_THRESHOLD: usize = 20_000;
|
||||
const LARGE_TEXT_THRESHOLD: usize = 200_000;
|
||||
|
||||
/// Process tool response and handle large text content
|
||||
pub fn process_tool_response(
|
||||
|
||||
Reference in New Issue
Block a user