no message

This commit is contained in:
hajimi
2026-06-11 12:15:29 +08:00
parent 10ebe39c30
commit 96efa1d905
5859 changed files with 815501 additions and 5 deletions
+13
View File
@@ -0,0 +1,13 @@
export const AI_REQUEST_TIMEOUT = 5 * 60 * 1000
export const AI_REQUEST_CONFIG = {
retryCount: 0,
ignoreCancel: true
}
export function withAiRequestTimeout<T extends Record<string, any>>(options: T): T & { timeout: number } {
return {
...options,
timeout: AI_REQUEST_TIMEOUT
}
}