Closed jixishi closed 4 days ago
It's unfortunate, but the interpretation of custom server addresses indeed changed between versions. In v0.2.12, a full URL like https://api.openai.com/v1/chat/completions
was required. However, in v1.0.1, only the base URL (e.g., https://api.openai.com/
) is needed, as the path (v1/chat/completions
) is added automatically.
However, the error message displayed is strange enough that I'm not convinced it's solely a connection issue. It's possible the API returns a response that the plugin can't parse.
Questions:
https://api.nextapi.fun
, correct?@jixishi, have you had the opportunity to look over my questions?
@didalgolab In the old version 0.2.12, it was https://api.nextapi.fun/v1/chat/completions. In the new version 1.0.1, when adding /v1/chat/completions at the end, it will throw an error indicating duplicate removal, then display the error message with the image.
Using the same proxy address in other programs is fine, I suspect there may be an issue with the JSON parsing that is not extracting the information correctly.
@jixishi Please attach the full IDEA log for the period when the chat error occurred.
Hi, how do I go about getting the log files?
Just updated the plugin and everything seems to be working fine now
Version: 1.0.1-231 The previous version 0.2.12-231 was working fine.
![image](https://github.com/didalgolab/chatgpt-intellij-plugin/assets/57534147/9460d30d-87e0-4187-805e-2bcc0ddff0c6)