feat(model): add MiniMax provider support - #631
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
|
Corrected the MiniMax-M3 per-token pricing in the provider config to match the published rates (input $0.6/M, output $2.4/M, cache read $0.12/M) and updated the corresponding test assertion. Ran the MiniMax provider tests (6 passed) and ruff on the changed Python files. |
|
Updated the MiniMax model availability probe to support both regional OpenAI-compatible and Anthropic-compatible endpoints, with matching request/response handling, and pushed commit fbd2c77. I ran the focused MiniMax tests (10 passed), the full Python suite (411 passed), Ruff, and the frontend lint, typecheck, and build. |
|
Thanks. I aligned the MiniMax provider config to the target pricing fields and pushed a new commit. I ran YAML assertions for the MiniMax provider config and |
Reason: add the target provider and models to the existing provider registry.
Type of Change
New Feature
Description
Testing
uv run pytest valuecell/adapters/models/tests/test_minimax_provider.py -quv run pytest -quv run ruff check .uv run ruff format --check valuecell/adapters/models/factory.py valuecell/adapters/models/__init__.py valuecell/config/manager.py valuecell/server/api/routers/models.py valuecell/adapters/models/tests/test_minimax_provider.pybun run lintbun run typecheckbun run buildChecklist