Repository navigation
feat(minimax): add Flash-first MiniMax provider - #78
Open
octo-patch wants to merge 5 commits into
Open
octo-patch wants to merge 5 commits into
octo-patch wants to merge 5 commits into
Conversation
Add a first-class MiniMax provider plugin following the existing provider plugin pattern (config, HTTP adapter, routes, model mappings, model cards). - Static API-key (Bearer) authentication, no OAuth dependency - Region selection (global_en / cn_zh) that resolves the OpenAI and Anthropic base URLs - OpenAI-compatible /v1/chat/completions plus Anthropic-compatible /v1/messages via the core format chain, and /v1/models - Default model cards and aliases for MiniMax-M3 and MiniMax-M2.7 - Register the plugin entry point and add unit tests
Author
|
I updated the MiniMax default model cards with the target context windows, per-million-token pricing, input modalities, and thinking modes, and pushed commit |
Author
|
Follow-up: I fixed the MiniMax model-card construction so the extra metadata passes strict type checking, and pushed commit |
This branch has not been deployed
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.
Reason: CCProxy needs a first-class MiniMax text provider with current model choices and lossless thinking/tool history. This adds the provider and makes
MiniMax-M3.1-Flashthe first catalog entry and theminimaxalias target, followed byMiniMax-M3.Validation on Python 3.11.15 with lockfile-pinned dependencies:
python -m pytest tests/plugins/minimax tests/unit/services/adapters tests/unit/utils/test_model_mapper.py tests/unit/llms tests/unit/streaming -q --show-capture=no.ccproxy/plugins/minimaxandtests/plugins/minimax; mypy 1.18.2 passed for all seven provider modules.git diff --checkpassed. Runtime/test dependencies were installed from the frozen lockfile export with hash verification, in a credential-free environment.No paid inference or live MiniMax account checks were performed. Regional account/model availability and custom gateway capabilities remain upstream concerns. The full repository suite and documentation build were not run; the relevant provider, transport, mapping, formatter and streaming regressions passed.
Remote CI for head
348ab3b05b1a8433862dd74a2bb16f2cbe32ebc1: Backend CI, Python CI, Documentation and CI are allaction_required; no check results are available yet. Maintainer workflow approval is required before remote validation can complete.Contract references: Messages API, model catalog, and pricing.