From 5901a211a907eef46dd9dc79da74f286de1dd92b Mon Sep 17 00:00:00 2001 From: Hendrik Date: Sun, 24 May 2026 19:05:43 +0000 Subject: [PATCH] fix(minimax): align params with official API docs - Change max_completion_tokens to max_tokens (API uses max_tokens) - Replace reasoning_split with thinking parameter - Add thinking boolean param for all MiniMax models - Update both api_key and subscription variants --- models/minimax/minimax-m2.1-highspeed.yaml | 12 ++++++------ models/minimax/minimax-m2.1.yaml | 12 ++++++------ models/minimax/minimax-m2.5-highspeed.yaml | 12 ++++++------ models/minimax/minimax-m2.5.yaml | 12 ++++++------ .../minimax/minimax-m2.7-highspeed-subscription.yaml | 6 ++++++ models/minimax/minimax-m2.7-highspeed.yaml | 12 ++++++------ models/minimax/minimax-m2.7-subscription.yaml | 6 ++++++ models/minimax/minimax-m2.7.yaml | 12 ++++++------ models/minimax/minimax-m2.yaml | 12 ++++++------ 9 files changed, 54 insertions(+), 42 deletions(-) diff --git a/models/minimax/minimax-m2.1-highspeed.yaml b/models/minimax/minimax-m2.1-highspeed.yaml index 3b2ca55..34fe6ac 100644 --- a/models/minimax/minimax-m2.1-highspeed.yaml +++ b/models/minimax/minimax-m2.1-highspeed.yaml @@ -3,10 +3,10 @@ provider: minimax authType: api_key model: minimax-m2.1-highspeed params: - - path: max_completion_tokens + - path: max_tokens type: integer - label: Max completion tokens - description: Maximum number of tokens to generate in the completion. + label: Max tokens + description: Maximum number of tokens to generate in the response. range: min: 1 group: generation_length @@ -32,9 +32,9 @@ params: max: 1 step: 0.01 group: sampling - - path: reasoning_split + - path: thinking type: boolean - label: Split reasoning - description: Returns the model's reasoning in a separate reasoning_details field instead of inline with the response. + label: Thinking + description: Enables the model's reasoning process to be returned in the response. default: false group: reasoning diff --git a/models/minimax/minimax-m2.1.yaml b/models/minimax/minimax-m2.1.yaml index 4e432e0..1a602ef 100644 --- a/models/minimax/minimax-m2.1.yaml +++ b/models/minimax/minimax-m2.1.yaml @@ -3,10 +3,10 @@ provider: minimax authType: api_key model: minimax-m2.1 params: - - path: max_completion_tokens + - path: max_tokens type: integer - label: Max completion tokens - description: Maximum number of tokens to generate in the completion. + label: Max tokens + description: Maximum number of tokens to generate in the response. range: min: 1 group: generation_length @@ -32,9 +32,9 @@ params: max: 1 step: 0.01 group: sampling - - path: reasoning_split + - path: thinking type: boolean - label: Split reasoning - description: Returns the model's reasoning in a separate reasoning_details field instead of inline with the response. + label: Thinking + description: Enables the model's reasoning process to be returned in the response. default: false group: reasoning diff --git a/models/minimax/minimax-m2.5-highspeed.yaml b/models/minimax/minimax-m2.5-highspeed.yaml index ce62674..a78838e 100644 --- a/models/minimax/minimax-m2.5-highspeed.yaml +++ b/models/minimax/minimax-m2.5-highspeed.yaml @@ -3,10 +3,10 @@ provider: minimax authType: api_key model: minimax-m2.5-highspeed params: - - path: max_completion_tokens + - path: max_tokens type: integer - label: Max completion tokens - description: Maximum number of tokens to generate in the completion. + label: Max tokens + description: Maximum number of tokens to generate in the response. range: min: 1 group: generation_length @@ -32,9 +32,9 @@ params: max: 1 step: 0.01 group: sampling - - path: reasoning_split + - path: thinking type: boolean - label: Split reasoning - description: Returns the model's reasoning in a separate reasoning_details field instead of inline with the response. + label: Thinking + description: Enables the model's reasoning process to be returned in the response. default: false group: reasoning diff --git a/models/minimax/minimax-m2.5.yaml b/models/minimax/minimax-m2.5.yaml index 9788dbc..ba2fab4 100644 --- a/models/minimax/minimax-m2.5.yaml +++ b/models/minimax/minimax-m2.5.yaml @@ -3,10 +3,10 @@ provider: minimax authType: api_key model: minimax-m2.5 params: - - path: max_completion_tokens + - path: max_tokens type: integer - label: Max completion tokens - description: Maximum number of tokens to generate in the completion. + label: Max tokens + description: Maximum number of tokens to generate in the response. range: min: 1 group: generation_length @@ -32,9 +32,9 @@ params: max: 1 step: 0.01 group: sampling - - path: reasoning_split + - path: thinking type: boolean - label: Split reasoning - description: Returns the model's reasoning in a separate reasoning_details field instead of inline with the response. + label: Thinking + description: Enables the model's reasoning process to be returned in the response. default: false group: reasoning diff --git a/models/minimax/minimax-m2.7-highspeed-subscription.yaml b/models/minimax/minimax-m2.7-highspeed-subscription.yaml index 6fe7b8d..ab611c8 100644 --- a/models/minimax/minimax-m2.7-highspeed-subscription.yaml +++ b/models/minimax/minimax-m2.7-highspeed-subscription.yaml @@ -32,3 +32,9 @@ params: max: 1 step: 0.01 group: sampling + - path: thinking + type: boolean + label: Thinking + description: Enables the model's reasoning process to be returned in the response. + default: false + group: reasoning diff --git a/models/minimax/minimax-m2.7-highspeed.yaml b/models/minimax/minimax-m2.7-highspeed.yaml index 8c2134c..04aac20 100644 --- a/models/minimax/minimax-m2.7-highspeed.yaml +++ b/models/minimax/minimax-m2.7-highspeed.yaml @@ -3,10 +3,10 @@ provider: minimax authType: api_key model: minimax-m2.7-highspeed params: - - path: max_completion_tokens + - path: max_tokens type: integer - label: Max completion tokens - description: Maximum number of tokens to generate in the completion. + label: Max tokens + description: Maximum number of tokens to generate in the response. range: min: 1 group: generation_length @@ -32,9 +32,9 @@ params: max: 1 step: 0.01 group: sampling - - path: reasoning_split + - path: thinking type: boolean - label: Split reasoning - description: Returns the model's reasoning in a separate reasoning_details field instead of inline with the response. + label: Thinking + description: Enables the model's reasoning process to be returned in the response. default: false group: reasoning diff --git a/models/minimax/minimax-m2.7-subscription.yaml b/models/minimax/minimax-m2.7-subscription.yaml index 9596634..a49f6ac 100644 --- a/models/minimax/minimax-m2.7-subscription.yaml +++ b/models/minimax/minimax-m2.7-subscription.yaml @@ -32,3 +32,9 @@ params: max: 1 step: 0.01 group: sampling + - path: thinking + type: boolean + label: Thinking + description: Enables the model's reasoning process to be returned in the response. + default: false + group: reasoning diff --git a/models/minimax/minimax-m2.7.yaml b/models/minimax/minimax-m2.7.yaml index a8cf5df..82bcf85 100644 --- a/models/minimax/minimax-m2.7.yaml +++ b/models/minimax/minimax-m2.7.yaml @@ -3,10 +3,10 @@ provider: minimax authType: api_key model: minimax-m2.7 params: - - path: max_completion_tokens + - path: max_tokens type: integer - label: Max completion tokens - description: Maximum number of tokens to generate in the completion. + label: Max tokens + description: Maximum number of tokens to generate in the response. range: min: 1 group: generation_length @@ -32,9 +32,9 @@ params: max: 1 step: 0.01 group: sampling - - path: reasoning_split + - path: thinking type: boolean - label: Split reasoning - description: Returns the model's reasoning in a separate reasoning_details field instead of inline with the response. + label: Thinking + description: Enables the model's reasoning process to be returned in the response. default: false group: reasoning diff --git a/models/minimax/minimax-m2.yaml b/models/minimax/minimax-m2.yaml index 2b38d09..9210972 100644 --- a/models/minimax/minimax-m2.yaml +++ b/models/minimax/minimax-m2.yaml @@ -3,10 +3,10 @@ provider: minimax authType: api_key model: minimax-m2 params: - - path: max_completion_tokens + - path: max_tokens type: integer - label: Max completion tokens - description: Maximum number of tokens to generate in the completion. + label: Max tokens + description: Maximum number of tokens to generate in the response. range: min: 1 group: generation_length @@ -32,9 +32,9 @@ params: max: 1 step: 0.01 group: sampling - - path: reasoning_split + - path: thinking type: boolean - label: Split reasoning - description: Returns the model's reasoning in a separate reasoning_details field instead of inline with the response. + label: Thinking + description: Enables the model's reasoning process to be returned in the response. default: false group: reasoning