Skip to content

Commit 73adf7e

Browse files
AlanThiecfwang
authored andcommitted
fix: update User-Agent string to latest Chrome version in webfetch (anomalyco#8284)
1 parent 4c37e17 commit 73adf7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/src/tool/webfetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export const WebFetchTool = Tool.define("webfetch", {
6060
signal: AbortSignal.any([controller.signal, ctx.abort]),
6161
headers: {
6262
"User-Agent":
63-
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
63+
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36",
6464
Accept: acceptHeader,
6565
"Accept-Language": "en-US,en;q=0.9",
6666
},

0 commit comments

Comments
 (0)