原本 v2rayN 的代理设置如下: ![[Pasted image 20250720141801.png]]
但是,使用 cursor 时,上面的代理设置无法让 cursor 走代理,导致无法正常使用国外模型。从而要把代理设置成全局代理,如下: ![[Pasted image 20250720142021.png]] ==注意:代理开启了 Tun,并且从 “自动配置系统代理” 改为 “清除系统代理”== 按以上设置后,cursor 就能走代理了
v2rayN 默认开启 10808 本地代理端口,cursor 的 setting.json 代码设置方法如下:
windows 系统使用 shift + ctrl + P (Mac: shift + ⌘ + P) ,输入 open user 接着选择带 JSON 的文件 ![[Pasted image 20250718121024.png]] 在文件的最上如下内容
"http.noProxy": [],
"http.proxy": "http://127.0.0.1:10808",
"http.proxyStrictSSL": false,
"http.proxySupport": "override",
"cursor.general.disableHttp2": true,
关闭 Cursor Http2,即:"cursor.general.disableHttp2": true ![[Pasted image 20250718121442.png]]