π @community
GitHub Community
How to configure an OpenAI Compatibe Model Provider which supports dynamic model discovery? #200311
Answered
by
rdpsawada
singhal-shagun
asked this question in
Copilot Conversations
Β·
5 comments
Β·
2 replies
Answered by
rdpsawada
Right now, VS Code doesnβt expose automatic model discovery for custom endpoints configured through chatLanguageModels.json the same way it does for built-in providers or provider extensions. That JSON-based setup is static, you must define models manually. Dynamic discovery (for example, calling an OpenAI-compatible /v1/models endpoint and populating the model list automatically) is handled by provider implementations, not by the generic custom endpoint configuration. So if you want users to enter only a base URL + API key and have models appear automatically, the supported path today is to build a language model provider extension that implements discovery logic and surfaces the models β¦
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Category
Copilot Conversations
