This commit is contained in:
Zacharias-Brohn
2026-01-14 22:51:46 +01:00
parent e222977f5c
commit c51b3c3fab
14 changed files with 452 additions and 216 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ export const urlFetchHandler: ToolHandler = async (args): Promise<ToolResult> =>
// Truncate if needed
if (text.length > maxLength) {
text = text.substring(0, maxLength) + '\n\n[Content truncated...]';
text = `${text.substring(0, maxLength)}\n\n[Content truncated...]`;
}
return {