MiniMax 配置指南
只需一份简单的提供方配置,就能在 OMA 的 TypeScript 多智能体工作流里使用 MiniMax M3。
OMA 用户购买 MiniMax Token Plan 可享 12% 折扣。有效期至 2026-06-30。
| Region | Link |
|---|---|
| Global | platform.minimax.io |
| China | platform.minimaxi.com |
这是一项限时社区优惠,而非付费背书。
关于 MiniMax M3
Section titled “关于 MiniMax M3”MiniMax M3 是 MiniMax 最新的旗舰模型。它支持最高 1M-token 的上下文窗口(保证下限 512K),并在文本之外接受图像输入。M3 现在是推荐的默认选择;M2.7 和 MiniMax-M2.7-highspeed 仍可供显式指定模型的调用方使用。
export MINIMAX_API_KEY=your-api-key适配器默认使用全球端点(https://api.minimax.io/v1)。中国用户应覆盖 base URL:
export MINIMAX_BASE_URL=https://api.minimaxi.com/v1const agent: AgentConfig = { name: 'my-agent', provider: 'minimax', model: 'MiniMax-M3', systemPrompt: 'You are a helpful assistant.',}完整示例:
import { OpenMultiAgent, type AgentConfig } from '@open-multi-agent/core'
const agent: AgentConfig = { name: 'analyst', provider: 'minimax', model: 'MiniMax-M3', systemPrompt: 'Analyze data and produce concise reports.', tools: ['bash', 'file_read', 'file_write'],}
const orchestrator = new OpenMultiAgent()// Built-in filesystem tools default to a `<cwd>/.agent-workspace` sandbox;// point the agent at an absolute path inside that root.const result = await orchestrator.runAgent( agent, `Summarize the file ${process.cwd()}/.agent-workspace/report.csv`,)console.log(result.output)- 这是一项有效期至 2026-06-30 的限时社区优惠。
- 列出的服务并非付费背书。
- 部分提供方优惠可能包含有助于维护本项目的推荐返佣。