Model provider minimax

From aiyufan3/TrumanWrld · View interactive version

Model provider minimax is an AI agent skill from the GitHub repository aiyufan3/TrumanWrld. Use MiniMax as the default language model provider through a standardized OpenAI-compatible adapter, completely decoupling business logic from the specific LLM API implementation.

How to use this skill

Skill file

Skill: Minimax OpenAI-Compatible Provider

Purpose

Use MiniMax as the default language model provider through a standardized OpenAI-compatible adapter, completely decoupling business logic from the specific LLM API implementation.

When to Use

Required Inputs

Expected Outputs

Constraints

Step-by-Step Execution

  1. Wrap an OpenAI REST client or generic fetch invocation targeting OPENAI_BASE_URL/chat/completions.
  2. Map model argument to process.env.MODEL_PRIMARY (e.g., MiniMax-M2.7) or process.env.MODEL_FAST.
  3. Execute request and normalize the response body to internal domains.
  4. Handle rate-limiting (429) gracefully using exponential backoff without crashing the global autonomous pipeline.

Validation Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.