ai-genie / chatgpt-vscode

Your best AI pair programmer in VS Code
https://marketplace.visualstudio.com/items?itemName=genieai.chatgpt-vscode
ISC License
1.16k stars 72 forks source link

Custom model name support #146

Closed ShinChven closed 10 hours ago

ShinChven commented 8 months ago

Describe the feature

I want to use a custom model, but I can't find a way to set the model name. Please support and provide an input in the configuration to add a custom model name.

For instance, I use one-api as the provider, which enables me to utilize gemini-pro in the OpenAI API protocol.

zhangtony239 commented 3 months ago

me too!

genieai-info commented 10 hours ago

Custom model name can be added via your Settings.JSON. Tou can ignore the warning if it's not recognized as part of the predefined enum models. Just overwrite the setting genieai.openai.model with your preferred openai model name