Skip to content

Add MiniMax provider support with adaptive thinking - #7

Open
octo-patch wants to merge 1 commit into
XSkill-Agent:mainfrom
octo-patch:octo/20260731-provider-add-recvqhyLbFb2pb
Open

Add MiniMax provider support with adaptive thinking#7
octo-patch wants to merge 1 commit into
XSkill-Agent:mainfrom
octo-patch:octo/20260731-provider-add-recvqhyLbFb2pb

Conversation

@octo-patch

Copy link
Copy Markdown

Reason: Add MiniMax as a provider via the OpenAI-compatible chat completions caller, including adaptive-thinking handling and global/China endpoint presets.

Changes:

  • eval/engine/api_caller.py: detect MiniMax models and add a thinking field ({"type": "adaptive" | "disabled"}) controlled by the REASONING_THINKING environment variable, mirroring the existing Gemini/GPT reasoning-parameter branches.
  • eval/engine/api_caller.py: preserve reasoning_content in the parsed message so MiniMax adaptive-thinking output is retained for trajectory logging, consistent with reasoning_details/reasoning.
  • eval/run_exskill_inference.sh and eval/run_exskill_train.sh: document MiniMax OpenAI-compatible endpoint presets for the global (https://api.minimax.io/v1) and China (https://api.minimaxi.com/v1) regions, plus the REASONING_THINKING toggle.

Checks:

  • python3 -m py_compile eval/engine/api_caller.py
  • bash -n eval/run_exskill_inference.sh / bash -n eval/run_exskill_train.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant