Add "Cache-Control: no-cache" header to brave api web search requests.

This commit is contained in:
Kuzey Cimen 2026-01-27 14:30:04 +00:00
parent 3f83afe4a6
commit e99860eee8

View File

@ -375,6 +375,7 @@ async function runWebSearch(params: {
method: "GET",
headers: {
Accept: "application/json",
"Cache-Control": "no-cache",
"X-Subscription-Token": params.apiKey,
},
signal: withTimeout(undefined, params.timeoutSeconds * 1000),