You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As macai user, I would like to select the available model from list and avoid using custom model function.
Many LLM APIs already provide API endpoints to get the list of API models supported for the specific API key. This will improve the experience of setting up new API services. It's recommended to cache the list of models locally, either in CoreData or AppStorage.
Renset
changed the title
[Feature Request] Fetch models list directly from API, where supported
[Feature] Fetch models list directly from API, where supported
Dec 29, 2024
Reference Issues
No response
Summary
As macai user, I would like to select the available model from list and avoid using custom model function.
Many LLM APIs already provide API endpoints to get the list of API models supported for the specific API key. This will improve the experience of setting up new API services. It's recommended to cache the list of models locally, either in CoreData or AppStorage.
Basic Example
OpenAI: https://platform.openai.com/docs/api-reference/models/list
Claude: https://docs.anthropic.com/en/api/models-list
xAI: https://docs.x.ai/docs/api-reference#list-models
Google Gemini: https://ai.google.dev/api/models#method:-models.list
Ollama: https://ai.google.dev/api/models#method:-models.list
Perplexity: Unknown
OpenRouter API: https://openrouter.ai/docs/models
Drawbacks
No response
Unresolved questions
No response
The text was updated successfully, but these errors were encountered: