Skip to content
This repository was archived by the owner on Oct 24, 2026. It is now read-only.

feat(core): add MiniMax provider support - #620

Closed
octo-patch wants to merge 2 commits into
memodb-io:devfrom
octo-patch:octo/20260713-minimax-provider-recvoLiLgtgnsW
Closed

octo-patch wants to merge 2 commits into
memodb-io:devfrom
octo-patch:octo/20260713-minimax-provider-recvoLiLgtgnsW

Conversation

@octo-patch

Copy link
Copy Markdown

Why we need this PR?

Acontext needs configuration support for MiniMax models through its existing compatible LLM adapters.

Describe your solution

  • Register minimax as an OpenAI-compatible LLM SDK option.
  • Include LLM_SIMPLE_MODEL in CLI-generated environment files while preserving the existing defaults.
  • Document MiniMax-M3 and MiniMax-M2.7 capabilities, pricing tiers, and global and China OpenAI/Anthropic endpoints.

Implementation Tasks

  • Add provider registry and schema support.
  • Generate and test the configured simple model in CLI environment files.
  • Document the complete model and endpoint matrix.

Impact Areas

Which part of Acontext would this feature affect?

  • Client SDK (Python)
  • Client SDK (TypeScript)
  • Core Service
  • API Server
  • Dashboard
  • CLI Tool
  • Documentation
  • Other

Checklist

  • Open this pull request against the dev branch.
  • All relevant tests pass.
  • Tests are added or modified to cover code changes.

Test plan

  • go test ./... from src/client/acontext-cli
  • LLM_API_KEY=test-key uv run pytest -q tests/llm/test_provider_registry.py from src/server/core
  • uv run python -m py_compile acontext_core/schema/config.py acontext_core/llm/complete/__init__.py tests/llm/test_provider_registry.py from src/server/core
  • ./node_modules/.bin/next build from docs
  • Captured request paths for all four documented region/protocol endpoint combinations.

@octo-patch
octo-patch requested a review from a team as a code owner July 13, 2026 08:55
@octo-patch octo-patch mentioned this pull request Jul 13, 2026
3 tasks done
@octo-patch

Copy link
Copy Markdown
Author

Updated the MiniMax docs to use MiniMax-M3 as the regional example default and to match the target pricing table. I ran LLM_API_KEY=test-key LLM_BASE_URL=https://api.minimax.io/v1 LLM_SDK=minimax LLM_SIMPLE_MODEL=MiniMax-M3 uv run pytest tests/llm/test_provider_registry.py and mise x go@1.25.9 -- go test ./internal/docker.

@gusye1234
gusye1234 deleted the branch memodb-io:dev October 24, 2026 15:23
@gusye1234 gusye1234 closed this Oct 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants