large tool response handling (#2629)

This commit is contained in:
Michael Neale
2025-05-23 12:27:17 +10:00
committed by GitHub
parent 29a7278e78
commit df2cb78228
3 changed files with 252 additions and 1 deletions
+4 -1
View File
@@ -195,7 +195,10 @@ impl Agent {
"output" = serde_json::to_string(&result).unwrap(),
);
(request_id, result)
// Process the response to handle large text content
let processed_result = super::large_response_handler::process_tool_response(result);
(request_id, processed_result)
}
pub(super) async fn manage_extensions(