Commit Graph

2 Commits

Author SHA1 Message Date
Octopus e3695873c7 feat: add MiniMax as a first-class LLM provider
Add MiniMaxAdapter implementing LLMAdapter, backed by the MiniMax
OpenAI-compatible Chat Completions API (api.minimax.io/v1).

Changes:
- src/llm/minimax.ts — full MiniMaxAdapter with chat() + stream(),
  temperature clamping to (0, 1], tool-call round-trip support
- src/llm/minimax.test.ts — 22 unit tests (mocked) covering all paths
- src/llm/minimax.integration.test.ts — 3 live-API integration tests
- src/llm/adapter.ts — add 'minimax' to SupportedProvider union + factory
- src/types.ts — add 'minimax' to provider field in AgentConfig /
  OrchestratorConfig
- src/index.ts — re-export MiniMaxAdapter for library consumers
- README.md / README_zh.md — document MINIMAX_API_KEY, add MiniMax to
  architecture diagram and multi-model team example

Set MINIMAX_API_KEY to use MiniMax-M2.7 (204K context) in any agent.
2026-04-02 00:42:43 +08:00
JackChen 376785c3fa Add Chinese README and GitHub topic tags for discoverability 2026-04-01 16:24:43 +08:00