Skip to content

Commit 50f54eb

Browse files
authored
Remove TODO and ai_search query param from ai-search-proxy (#58843)
1 parent 0b02439 commit 50f54eb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/search/lib/ai-search-proxy.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@ export const aiSearchProxy = async (req: ExtendedRequest, res: Response) => {
6060
let reader: ReadableStreamDefaultReader<Uint8Array> | null = null
6161

6262
try {
63-
// TODO: We temporarily add ?ai_search=1 to use a new pattern in cgs-copilot production
6463
const response = await fetchStream(
65-
`${process.env.CSE_COPILOT_ENDPOINT}/answers?ai_search=1`,
64+
`${process.env.CSE_COPILOT_ENDPOINT}/answers`,
6665
{
6766
method: 'POST',
6867
body: JSON.stringify(body),

0 commit comments

Comments
 (0)