Skip to content

feat: add MiniMax provider configuration - #210

Open
octo-patch wants to merge 2 commits into
RichardAtCT:mainfrom
octo-patch:octo/20260730-provider-add-recvqg70EDusKo
Open

feat: add MiniMax provider configuration#210
octo-patch wants to merge 2 commits into
RichardAtCT:mainfrom
octo-patch:octo/20260730-provider-add-recvqg70EDusKo

Conversation

@octo-patch

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

Copy link
Copy Markdown

Reason: provider-add - configure MiniMax through the existing Claude Agent SDK extension point while preserving the current SDK/session flow.

Changes

  • Add CLAUDE_PROVIDER=minimax and MINIMAX_REGION settings.
  • Resolve the global https://api.minimax.io/anthropic and China https://api.minimaxi.com/anthropic endpoints automatically.
  • Default MiniMax to MiniMax-M3 and allow MiniMax-M2.7 through CLAUDE_MODEL.
  • Keep ANTHROPIC_BASE_URL as an explicit override and leave the SDK client/session flow unchanged.
  • Document the provider, regions, endpoints, and model choices.

Verification

  • pytest tests/unit/test_config.py - 31 passed.
  • Focused SDK endpoint/model tests - 8 passed.
  • black --check, isort --check-only, flake8, and mypy src/config/settings.py - passed.

Add an optional ANTHROPIC_BASE_URL setting that configures the Claude
Code SDK to use a proxy/enterprise endpoint or any Anthropic-compatible
provider endpoint. ClaudeSDKManager exports the value to the
ANTHROPIC_BASE_URL environment variable, preserving the existing
SDK/session flow when the setting is left empty.
@octo-patch octo-patch changed the title feat: add ANTHROPIC_BASE_URL setting for custom API endpoints feat: add MiniMax provider configuration Aug 11, 2026
@octo-patch

Copy link
Copy Markdown
Author

Updated this PR with MiniMax provider selection, global and China endpoint resolution, and MiniMax-M3/MiniMax-M2.7 model configuration. I ran 31 configuration tests, 8 focused SDK tests, black, isort, flake8, and mypy.

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.

1 participant