Files
klz-cables.com/.pnpm-store/v10/files/71/da9cb30af83b229d222082d271b5a54d14514bdf159b030b5c74216aa0f0ad05e6fe7857beb127cc8c02c853bb6c419063360a284fef7bd8647a08ea622b9e
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

23 lines
784 B
Plaintext

/**
* Default maximum size in bytes for GenAI messages.
* Messages exceeding this limit will be truncated.
*/
export declare const DEFAULT_GEN_AI_MESSAGES_BYTE_LIMIT = 20000;
/**
* Truncate GenAI messages using the default byte limit.
*
* Convenience wrapper around `truncateMessagesByBytes` with the default limit.
*
* @param messages - Array of messages to truncate
* @returns Truncated array of messages
*/
export declare function truncateGenAiMessages(messages: unknown[]): unknown[];
/**
* Truncate GenAI string input using the default byte limit.
*
* @param input - The string to truncate
* @returns Truncated string
*/
export declare function truncateGenAiStringInput(input: string): string;
//# sourceMappingURL=messageTruncation.d.ts.map