feat: Add Minimax provider support - #14
Merged
TopiCsarno merged 7 commits intoJul 2, 2026
Merged
Conversation
- Remove all Kimi-related code (provider, UI, error handling, config) - Keep Minimax provider functionality intact - Fix Minimax test that was failing due to missing percent fields
- Add minimax.svg and minimax-reversed.svg from official Minimax branding - Update provider_assets.rs to use Minimax icons instead of Codex placeholder - Icons use official Minimax logo from their website (filecdn.minimax.chat)
- Add Minimax to providers list in README with API key tracking description - Update README header and account management sections to include Minimax - Add comprehensive Minimax provider section (3.6) to spec.md - Update document metadata, system context diagram, and all provider references - Update last modified date to 2026-06-25 Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Replace Codex icon usage with dedicated Minimax icons - Add separate icons for default and reversed variants - Ensure Minimax has proper branding in the UI Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Add 'API Key' and 'Account' text labels above respective input fields - Change label field initialization from 'Default' to empty string - Ensures both form fields start empty with proper placeholders - Improves UX clarity for users adding Minimax accounts Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Owner
|
Hi, thanks for the contribution! Please check that these checks pass One early functional note from testing: I tried a normal MiniMax sk-api-* key with purchased Credits. The quota endpoints returned HTTP 200, but with: { The app currently reports this as a generic parse failure. The implementation should parse base_resp.status_code and surface the MiniMax API message clearly. Once CI is green, I’ll take another pass at the MiniMax-specific behavior. |
added 2 commits
June 26, 2026 15:20
- Fix core issue: parse MiniMax base_resp errors before model_remains - Add MinimaxError::ApiError variant for API-specific error messages - Fix AppError integration for MinimaxError rate limiting methods - Remove unused code (delete_api_key, validate, InvalidBearerHeader) - Fix code organization: move functions before test module - Apply rustfmt formatting and fix clippy warnings
Author
|
Pushed some changes to fix up failing CI checks, as well as some changes to hopefully handle the generic parse failure for the minimax API correctly. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds complete Minimax provider support to YapCap, enabling users to track their Minimax API token usage directly from the COSMIC panel applet.
Changes
Additional Context
We initially attempted to add Kimi provider support as well but were unsuccessful due to current account and API limitations. The Kimi-related commits have been removed, keeping only the functional Minimax support.
Type of Change
Pre-flight Checklist