Closed oatmealm closed 1 month ago
I wanted to add support for other providers and but I guess just allowing to configure OpenAI base URL is a good start. We would also need to change how we do model selection. As of now, it is a static list, which in itself is not ideal. Ideal would be to fetch it from /models
and then use that list to let users pick a model, or maybe it can be just make to a text field.
If you want to give a shot at it, the URL is used here. Fetch from storage happens here and customization page is here.
If you don't wanna take it up, I'll see if I get it sorted out this weekend.
The latest version should have support for it. You can either build and load from main or wait for 1.2.0 to land in extension marketplace.
It'll look something like this. If you hover on the model label and you have already added API key and url, it will show you a list of labels.
Oops, there is a bug in the current implementation. Reopening this.
Should be fixed in 1.2.2
As it stands right now I think one is forced to use OpenAI.