obiscr / ChatGPT

This project is a plugin that supports ChatGPT running on JetBrains series IDE.
https://plugins.jetbrains.com/plugin/20603-chatgpt
Other
1.01k stars 227 forks source link

pycharm中设置代理无效 #284

Closed lxt20180608 closed 12 months ago

lxt20180608 commented 1 year ago

网络环境:Clash for Windows OpenAI:使用经过cf-openai-azure-proxy转换的Azure OpenAI代理,已测试在其他浏览器插件中自定义api地址和密钥有效,且clash中看到了pycharm中自定义的api地址走代理的记录 设置如下: https://z1.ax1x.com/2023/09/15/pPWtvy8.png 发送消息返回的错误如下: Response failure, please try again. Error message: 404 Not Found

请问是哪里没有配置对呢?

obiscr commented 1 year ago

您的代理看起来似乎是正确的,能否看下自定义server的配置? 可以先不要使用自定义的server,先使用默认的server。来检查代理是否生效。

lxt20180608 commented 1 year ago

抱歉,因为我是通过Azure OpenAI服务使用gpt的,因此没有默认的api配置,您说的server配置指的是api地址吗?

obiscr commented 1 year ago

image 我明白了,请问在您的设置中,这里配置的是私有的Azure 地址吗?

lxt20180608 commented 12 months ago

是的,没错

obiscr commented 12 months ago

目前可能不能兼容azure的 endpoint,之前有过一个类似的 #183 :但是还没有来得及完成。

lxt20180608 commented 12 months ago

好的,感谢回复

obiscr commented 12 months ago

没关系,后续关于azure的进可以关注 #183,感谢!