Skip to content

Add direct MiniMax provider models#97

Open
octo-patch wants to merge 2 commits into
Agent-Field:mainfrom
octo-patch:octo/20260708-add-target-provider-model-to-existing-provider-registry-recvoNoXySJNSL
Open

Add direct MiniMax provider models#97
octo-patch wants to merge 2 commits into
Agent-Field:mainfrom
octo-patch:octo/20260708-add-target-provider-model-to-existing-provider-registry-recvoNoXySJNSL

Conversation

@octo-patch

@octo-patch octo-patch commented Jul 15, 2026

Copy link
Copy Markdown

Reason: add target provider/model to existing provider registry

Add direct MiniMax model entries for the global and China OpenAI-compatible endpoints and a separate region-selectable Anthropic-compatible OpenCode provider. The registry exposes MiniMax-M3 and MiniMax-M2.7 with their supported modalities, reasoning capability, context limits, output limits, and pricing metadata. Deployment documentation also covers the Anthropic-compatible Claude runtime and the complete tiered pricing schedule. Existing defaults remain unchanged.

Validation:

  • AGENTFIELD_SERVER=http://localhost:9999 python -m pytest -q tests/test_minimax_provider_config.py
  • ruff check tests/test_minimax_provider_config.py
  • python -m compileall -q swe_af
  • jq empty opencode.json
  • git diff --check
  • OpenCode model-listing checks for all three direct providers.
  • Local request-capture checks for the global and China Chat Completions paths and the Anthropic Messages path.

@octo-patch
octo-patch requested a review from AbirAbbas as a code owner July 15, 2026 13:18
@CLAassistant

CLAassistant commented Jul 15, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@octo-patch

Copy link
Copy Markdown
Author

I added a separate minimax-anthropic OpenCode provider so the built-in minimax catalog remains unchanged, added the target model limits and complete tiered pricing documentation, and expanded the focused tests. I ran the focused pytest suite, Ruff, compileall, JSON and diff checks, model-listing checks, and local request captures for both Chat Completions regions and the Anthropic Messages path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants