mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-07-31 03:12:16 +00:00
feat: add MiniMax as cloud inference provider with M2.7 default (#85)
* feat: add MiniMax as cloud inference provider Add MiniMax M2.5 and M2.5-highspeed as a 5th cloud provider alongside OpenAI, Anthropic, Google, and OpenRouter. Uses the OpenAI-compatible API at api.minimax.io/v1 via the existing openai SDK dependency. Changes: - Add MiniMax client init, generate, and streaming in CloudEngine - Add MiniMax models to model catalog with correct pricing - Add MINIMAX_API_KEY environment variable support - Add temperature clamping (0.01-1.0) per MiniMax API constraints - Add 19 unit tests and 3 integration tests - Update docs and README with MiniMax provider info * feat: upgrade MiniMax default model to M2.7 - Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to model list - Set MiniMax-M2.7 as default model (first in list) - Keep all previous models (M2.5, M2.5-highspeed) as alternatives - Update pricing table with M2.7 entries - Update model catalog with M2.7 specs - Update docs to list all available MiniMax models - Update unit tests (23 passing) and integration tests (3 passing) --------- Co-authored-by: Octopus <octo-patch@users.noreply.github.com>
This commit is contained in:
@@ -140,7 +140,7 @@ max_tokens = 1024
|
||||
| `checkpoint_path` | string | `""` | Path to a fine-tuned checkpoint or LoRA adapter directory. |
|
||||
| `quantization` | string | `"none"` | Quantization format. Accepted values: `none`, `fp8`, `int8`, `int4`, `gguf_q4`, `gguf_q8`. |
|
||||
| `preferred_engine` | string | `""` | Override engine for this model (e.g., `"vllm"`). Takes priority over `engine.default`. |
|
||||
| `provider` | string | `""` | Model provider hint: `local`, `openai`, `anthropic`, `google`. Used by the Cloud engine to route API calls. |
|
||||
| `provider` | string | `""` | Model provider hint: `local`, `openai`, `anthropic`, `google`, `minimax`. Used by the Cloud engine to route API calls. |
|
||||
|
||||
**Generation default fields** (overridable per-call):
|
||||
|
||||
@@ -972,6 +972,7 @@ OpenJarvis respects the following environment variables:
|
||||
| `OPENAI_API_KEY` | API key for OpenAI cloud inference. Required for the `cloud` engine with OpenAI models. |
|
||||
| `ANTHROPIC_API_KEY` | API key for Anthropic cloud inference. Required for the `cloud` engine with Claude models. |
|
||||
| `GOOGLE_API_KEY` | API key for Google Gemini inference. Required for the `google` engine. |
|
||||
| `MINIMAX_API_KEY` | API key for MiniMax cloud inference. Required for the `cloud` engine with MiniMax models (MiniMax-M2.7, MiniMax-M2.7-highspeed, MiniMax-M2.5, MiniMax-M2.5-highspeed). |
|
||||
| `TAVILY_API_KEY` | API key for the Tavily web search tool. Required for the `web_search` tool. |
|
||||
|
||||
## Next Steps
|
||||
|
||||
Reference in New Issue
Block a user