feat(models): add minimax-m2.5 via opencodezen and set as openclaw default

SH
8mo ago
+62-3

Changes

  • Add minimax-m2.5 to models.json
  • Add opencodezen provider to cliproxyapi config (config.tpl.yaml / config.template.yaml) using OPENCODE_API_KEY pointing to https://api.minimax.chat/v1
  • Add minimax-m2.5 model entry to openclaw's cliproxy provider list (1M context, 40960 max tokens)
  • Set cliproxy/minimax-m2.5 as the default primary model in openclaw agents, with claude-opus-4-6 as first fallback
  • Add minimax-m2.5 to opencode's cliproxyapi provider models
  • Document OPENCODE_API_KEY in .env.example

Technical Details

  • Template files (*.tpl.*) updated with __MINIMAX__ / __MINIMAX_PRETTY__ placeholders
  • Generated files updated via scripts/llm-update.sh
  • openclaw default primary: cliproxy/claude-opus-4-6 → cliproxy/minimax-m2.5 (opus moved to fallback)

Testing

  • scripts/llm-update.sh runs cleanly
  • All template substitutions verified in generated output files

Generated with Claude Code by claude-sonnet-4-6


Summary by cubic

Adds minimax-m2.5 via the opencodezen provider and sets it as the default model for openclaw agents. This delivers a 1M-token context window while keeping claude-opus-4-6 as the first fallback.

  • New Features

    • Added opencodezen to cliproxyapi (base https://api.minimax.chat/v1) using OPENCODE_API_KEY; exposes minimax-m2.5.
    • Registered minimax-m2.5 in openclaw (context 1,000,000; max tokens 40,960) and set cliproxy/minimax-m2.5 as primary with fallbacks cliproxy/claude-opus-4-6 and cliproxy/glm-4.7.
    • Mapped minimax -> minimax-m2.5 in models.json and added the model to opencode provider models.
    • Added template placeholders __MINIMAX__ and __MINIMAX_PRETTY__.
  • Migration

    • Add OPENCODE_API_KEY to your environment (see .env.example) to enable minimax-m2.5 via cliproxyapi.
    • To keep the old default, set cliproxy/claude-opus-4-6 as the agent primary in your local config.