| Modifier and Type | Method and Description |
|---|---|
| public List | Returns: A list of available model names (never null, empty if fetch fails)The AI provider to fetch models from aiProvider, String The base URL for the API apiBaseUrl, @Nullable String The API key for authentication (may be null for providers that don't require it) apiKey)Fetches the list of available models for the given AI provider. |
| public boolean | Returns: true if this provider can fetch models for the given AI providerThe AI provider to check aiProvider)Checks if this provider supports the given AI provider type. |
| fetchModels | back to summary |
|---|---|
| public List Fetches the list of available models for the given AI provider.
| |
| supports | back to summary |
|---|---|
| public boolean supports(AiProvider aiProvider) Checks if this provider supports the given AI provider type.
| |