fix: increase limit for direct to disk for performance (#2762)

This commit is contained in:
Michael Neale
2025-06-03 13:16:05 +10:00
committed by GitHub
parent e56354603f
commit 959ebcb43f

View File

@@ -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(