From 04dc3bb19c252bd2fe4068fef2d1871d8c7007be Mon Sep 17 00:00:00 2001 From: buua436 Date: Thu, 4 Jun 2026 17:41:56 +0800 Subject: [PATCH] fix: pass search id to searchbots ask (#15646) ### What problem does this PR solve? This change ensures `/searchbots/ask` receives `search_id` from the frontend, so the backend can load the matching search configuration when the shared search flow invokes the endpoint. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- web/src/pages/next-search/hooks.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/pages/next-search/hooks.ts b/web/src/pages/next-search/hooks.ts index 33c6a74eb4..a165ed24ba 100644 --- a/web/src/pages/next-search/hooks.ts +++ b/web/src/pages/next-search/hooks.ts @@ -344,6 +344,7 @@ export const useSendQuestion = ( kb_ids: kbIds, question: q, tenantId, + search_id: searchId, }); } testChunk({