fix: update User-Agent string to latest Chrome version in webfetch (#8284)

This commit is contained in:
Alan
2026-01-13 22:23:08 +01:00
committed by Frank
parent 4c37e17ac2
commit 73adf7e86f

View File

@@ -60,7 +60,7 @@ export const WebFetchTool = Tool.define("webfetch", {
signal: AbortSignal.any([controller.signal, ctx.abort]),
headers: {
"User-Agent":
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36",
Accept: acceptHeader,
"Accept-Language": "en-US,en;q=0.9",
},