refactor: simplify tool output truncation to single config (#18446)

This commit is contained in:
Sandy Tao
2026-02-06 13:41:19 -08:00
committed by GitHub
parent fd72a8c40f
commit 28805a4b2d
22 changed files with 56 additions and 189 deletions
@@ -1663,7 +1663,6 @@ describe('loggers', () => {
originalContentLength: 1000,
truncatedContentLength: 100,
threshold: 500,
lines: 10,
});
logToolOutputTruncated(mockConfig, event);
@@ -1683,7 +1682,6 @@ describe('loggers', () => {
original_content_length: 1000,
truncated_content_length: 100,
threshold: 500,
lines: 10,
},
});
});