-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Copy link
Labels
feat/providersNew feature or request, related to providersNew feature or request, related to providers
Description
Describe the bug
Describe the problem
When using the OpenAI Compatible provider, AIRI tries to auto-fetch the model list via /v1/models. However, some providers (e.g. MiniMax at api.minimax.io) do not expose this endpoint, resulting in a 404 error under Modules β Consciousness β Model, making it impossible to select a model.
Expected behavior
If the model list fails to load, there should be a fallback option to manually type in a model name/ID β similar to how many other AI tools handle this.
Steps to reproduce
- Go to Settings β Providers β Add OpenAI Compatible
- Set Base URL to
https://api.minimax.io/v1with a valid MiniMax API key - Go to Modules β Consciousness
- Select the OpenAI Compatible provider
- Model section shows:
Error loading models β Remote sent 404 response: 404 page not found - There is no way to manually enter a model name
Suggested fix
Add a text input field as a fallback when the /v1/models endpoint returns an error, so users can manually type their desired model ID (e.g. MiniMax-M2.5).
System Info
- AIRI version: 0.8.4
- OS: macOS (Apple Silicon)
- Provider: MiniMax (`https://api.minimax.io/v1`)Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
Contributions
- I am willing to submit a PR to fix this issue
- I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feat/providersNew feature or request, related to providersNew feature or request, related to providers