We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9d355b commit 31fa9b7Copy full SHA for 31fa9b7
src/search/lib/ai-search-proxy.ts
@@ -9,7 +9,7 @@ import { handleExternalSearchAnalytics } from '@/search/lib/helpers/external-sea
9
// Maximum time (ms) to wait for the initial response from the upstream
10
// AI search service. Streaming may take longer once the connection is
11
// established, but the connect + first-byte must complete within this window.
12
-const AI_SEARCH_TIMEOUT_MS = 4_000
+const AI_SEARCH_TIMEOUT_MS = 9_000
13
14
export const aiSearchProxy = async (req: ExtendedRequest, res: Response) => {
15
const { query, version } = req.body ?? {}
0 commit comments