We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b02439 commit 50f54ebCopy full SHA for 50f54eb
1 file changed
src/search/lib/ai-search-proxy.ts
@@ -60,9 +60,8 @@ export const aiSearchProxy = async (req: ExtendedRequest, res: Response) => {
60
let reader: ReadableStreamDefaultReader<Uint8Array> | null = null
61
62
try {
63
- // TODO: We temporarily add ?ai_search=1 to use a new pattern in cgs-copilot production
64
const response = await fetchStream(
65
- `${process.env.CSE_COPILOT_ENDPOINT}/answers?ai_search=1`,
+ `${process.env.CSE_COPILOT_ENDPOINT}/answers`,
66
{
67
method: 'POST',
68
body: JSON.stringify(body),
0 commit comments