-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Add support for Custom Model to OpenAI settings #3225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I have not made any changes to the CHANGELOG or README, yet. I am happy to do so after we have agreed on the approach in this PR.
I have a different version of this PR that adds a CustomProvider class, but after some thought, it might not be necessary since the custom URL for OpenAI is very close to working with any server (not just Azure).
cmgriffing-at-gitkraken
commented
May 6, 2024
@SpaceMerlin33 Do you mind taking a look at this?
cmgriffing-at-gitkraken
commented
May 17, 2024
@trevor-polidore Let me know what you think.
@cmgriffing There have been significant changes to the AI providers, can you adapt this to the new model?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need another setting for the custom model? Can't we just use the model setting above?
Description
This PR adds a new setting to VSCode in the AI section for a custom model name to be sent to an OpenAI-compatible API. A larger PR was in the works until I realized that the existing custom URL functionality would work.
Closes #3223
Checklist
Fixes $XXX -
orCloses #XXX -
prefix to auto-close the issue that your PR addresses