pyscripter / pyscripter

Pyscripter is a feature-rich but lightweight Python IDE
MIT License
984 stars 305 forks source link

[OpenAI] Custom endpoint cuases the "Chat setup incomplete The LLM endpoint is missing or not supported" error #1332

Closed iG8R closed 2 weeks ago

iG8R commented 2 weeks ago

Hi. When I try to use a custom endpoint (https://github.com/xtekky/gpt4free/) for the OpenAI chat I get the error "Chat setup incomplete: The LLM endpoint is missing or not supported".

pyscripter commented 2 weeks ago

Only OpenAI, Gemini and Ollama are supported. See the help file or the wiki pages regarding the supported endpoints by the Chat and Assistant.

For example in Chat the Endpoint needs to be one of:

iG8R commented 2 weeks ago

Is there any way to allow custom endpoints to be used? There are many free models that use OpenAI API-like requests. It would be very convenient to use custom endpoints when working with such models.