mirror of https://github.com/openclaw/openclaw.git
Add native MiniMax Search integration via their Coding Plan search API (POST /v1/coding_plan/search). This brings MiniMax in line with Brave, Kimi, Grok, Gemini, and other providers that already have bundled web search support. - Implement WebSearchProviderPlugin with caching, credential resolution, and trusted endpoint wrapping - Support both global (api.minimax.io) and CN (api.minimaxi.com) endpoints, inferred from explicit region config, model provider base URL, or minimax-portal OAuth base URL - Prefer MINIMAX_CODE_PLAN_KEY over MINIMAX_API_KEY in credential fallback, matching existing repo precedence - Accept SecretRef objects for webSearch.apiKey (type: [string, object]) - Register in bundled registry, provider-id compat map, and fast-path plugin id list with full alignment test coverage - Add unit tests for endpoint/region resolution and edge cases Closes #47927 Related #11399 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| README.md | ||
| api.ts | ||
| image-generation-provider.test.ts | ||
| image-generation-provider.ts | ||
| index.test.ts | ||
| index.ts | ||
| media-understanding-provider.ts | ||
| model-definitions.test.ts | ||
| model-definitions.ts | ||
| oauth.runtime.ts | ||
| oauth.ts | ||
| onboard.test.ts | ||
| onboard.ts | ||
| openclaw.plugin.json | ||
| package.json | ||
| provider-catalog.ts | ||
| provider-models.ts | ||
| speech-provider.test.ts | ||
| speech-provider.ts | ||
| test-api.ts | ||
| tts.ts | ||
README.md
MiniMax (OpenClaw plugin)
Bundled MiniMax plugin for both:
- API-key provider setup (
minimax) - Token Plan OAuth setup (
minimax-portal)
Enable
openclaw plugins enable minimax
Restart the Gateway after enabling.
openclaw gateway restart
Authenticate
OAuth:
openclaw models auth login --provider minimax-portal --set-default
API key:
openclaw setup --wizard --auth-choice minimax-global-api
Notes
- MiniMax OAuth uses a user-code login flow.
- OAuth currently targets the Token Plan path.