continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
19.31k stars 1.67k forks source link

No option for openai compatible endpoint #2442

Open shinebarbhuiya opened 1 month ago

shinebarbhuiya commented 1 month ago

Before submitting your bug report

Relevant environment info

- OS:
- Continue:
- IDE:
- Model:
- config.json:

Description

Super irritating!

To reproduce

No response

Log output

No response

sestinj commented 1 month ago

Hi @shinebarbhuiya, thanks for sharing—we definitely intend for it to be possible to use OpenAI-compatible APIs, but perhaps our mistake here is that it's not easy enough to discover.

Here are details on how to use any OpenAI-compatible API: https://docs.continue.dev/customize/model-providers/openai#openai-compatible-servers--apis

I'd be curious to understand at what point in onboarding you felt this was missing

callbacked commented 1 month ago

@sestinj It used to be an easily accessible option prior to the current update. Unless you added your OpenAI compatible API before the new update, you must add it through config.json now which is less than ideal and compromises on the UX flow a bit. It would be nice to have both options to add it like before.

before Screenshot 2024-10-02 at 4 37 55 PM

now (While the screenshot only shows a portion of the drop-down options, there is no option for using an OpenAI compatible API when scrolling through the options)

Screenshot 2024-10-02 at 4 37 03 PM

sestinj commented 1 month ago

I see! This is a good point