feat: solution for 'Агент с RAG-памятью'
CI / build (push) Has been cancelled

This commit is contained in:
2026-06-24 14:28:11 +03:00
parent 589a621340
commit 14ab96d098
22 changed files with 644 additions and 20 deletions
+4
View File
@@ -0,0 +1,4 @@
export function truncate(str: string, maxLength: number = 100): string {
if (str.length <= maxLength) return str;
return str.slice(0, maxLength) + '...';
}