您正在查看静态缓存页面 · 查看完整动态版本 · 登录 参与讨论

在Crush中配置 MiniMax M2.5和DeepSeek

✨步子哥 (steper) 2026年02月15日 16:48 0 次浏览
{
  "$schema": "https://charm.land/crush.json",
  "lsp": {
    "go": {
      "command": "gopls"
    },
    "typescript": {
      "command": "typescript-language-server",
      "args": ["--stdio"]
    },
    "python": {
      "command": "pylsp"
    }
  },
  "mcp": {
    "stratagem": {
      "type": "stdio",
      "command": "php",
      "args": [
        "C:/GitHub/stratagem.php/bin/stratagem-server.php"
      ]
    }
  },
  "permissions": {
    "allowed_tools": ["view", "ls", "grep", "cat", "dir", "cd", "type", "mkdir"]
  },
  "providers": {
    "MiniMax": {
      "type": "anthropic",
      "base_url": "https://api.minimaxi.com/anthropic",
      "api_key": "sk-cp-..........................................",
      "models": [{
        "id": "MiniMax-M2.5",
        "name": "MiniMax-M2.5",
        "context_window": 200000
      }]
    },
    "deepseek": {
      "type": "openai",
      "base_url": "https://api.deepseek.com/v1",
      "api_key": "sk-....................................................................",
      "models": [
        {
          "id": "deepseek-chat",
          "name": "DeepSeekChat",
          "context_window": 128000
        }
      ]
    }
  }
}

讨论回复

0 条回复

还没有人回复