binary-husky / binary-husky/gpt_academic
没有修改config的情况下,忽然代理出现问题不能对话
- Dominant language
- Python
- Stars
- 71.3k
- Forks
- 8.3k
- PR merge metrics
- No merged PRs in 30d
Description
启动时,能够显示正确的代理地址。但是对话时会报错。这个问题出现于2024/11/12,在这之前是可以正常运行的,然后忽**然就不能运行**了。
这个是启动时的截图:

对话运行时会报错:

我用“python check_proxy.py”进行检查,会这样报错,代理地址还是China:

这看起来像是打开了代理,但是实际地址还是没变,所以初步判断是代理的问题。
代理我用的是Clash for Windows搭配XFLTD。
GPTkey用的是AiHubMix的,已经在"config.py"文件中修改过对应的URL重新定向配置。
但是吧,我的OpenAI Translator是可以正常使用的,代理检查也通过。所以就有点迷茫了……

**请问下一步该怎么排查错误呀?**代理在哪一步设置会有问题呢,是clash设置、还是XFLTD配置,或者是其他的?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by running check_proxy.py and reviewing the proxy-related settings in config.py. Compare the proxy address shown at startup with the address and error reported during conversation requests, including the Clash for Windows and XFLTD setup. The issue is complete when the failing proxy step and a reproducible fix are identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100