export const AI_REQUEST_TIMEOUT = 5 * 60 * 1000 export const AI_REQUEST_CONFIG = { retryCount: 0, ignoreCancel: true } export function withAiRequestTimeout>(options: T): T & { timeout: number } { return { ...options, timeout: AI_REQUEST_TIMEOUT } }