Files
klz-cables.com/.pnpm-store/v10/files/b7/0f63ddf33b7114669cf0cdd5d6d1e78613d1acfe4e4e90e7e74fb8fb38384534fe2152bdadedf5d5be20ad4fe6e0dd572311d2c8110ba8da731755bb8ea1c3
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

22 lines
761 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