我在内网中使用前,
export HTTP_PROXY='http://账号:密码@代理:8080'
export HTTPS_PROXY='http://账号:密码@代理:8080',
然后npm run dev后,
测试:
[OpenAI] 收到请求: model=anthropic/claude-sonnet-4.6, messages=1, stream=undefined, tools=0
[Cursor] 发送请求: model=anthropic/claude-sonnet-4.6, messages=1
[Cursor] 请求失败 (1/2): fetch failed
[Cursor] 2s 后重试...
[Cursor] 发送请求: model=anthropic/claude-sonnet-4.6, messages=1
[Cursor] 请求失败 (2/2): fetch failed
[OpenAI] 请求处理失败: fetch failed
我在内网中使用前,
export HTTP_PROXY='http://账号:密码@代理:8080'
export HTTPS_PROXY='http://账号:密码@代理:8080',
然后npm run dev后,
测试:
[OpenAI] 收到请求: model=anthropic/claude-sonnet-4.6, messages=1, stream=undefined, tools=0
[Cursor] 发送请求: model=anthropic/claude-sonnet-4.6, messages=1
[Cursor] 请求失败 (1/2): fetch failed
[Cursor] 2s 后重试...
[Cursor] 发送请求: model=anthropic/claude-sonnet-4.6, messages=1
[Cursor] 请求失败 (2/2): fetch failed
[OpenAI] 请求处理失败: fetch failed