mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-21 10:42:33 +00:00
fix: update User-Agent string to latest Chrome version in webfetch (#8284)
This commit is contained in:
parent
4c37e17ac2
commit
73adf7e86f
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue