fix: set authHeader: true by default for MiniMax API provider (#27622)

* Update onboard-auth.config-minimax.ts

fix issue #27600

* fix(minimax): default authHeader for implicit + onboarding providers (#27600)

Landed from contributor PR #27622 by @riccoyuanft and PR #27631 by @kevinWangSheng.
Includes a small TS nullability guard in lane delivery to keep build green on rebased head.

Co-authored-by: riccoyuanft <riccoyuan@gmail.com>
Co-authored-by: Kevin Shenghui <shenghuikevin@github.com>

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
Co-authored-by: Kevin Shenghui <shenghuikevin@github.com>
This commit is contained in:
riccoyuanft
2026-02-26 23:53:51 +08:00
committed by GitHub
parent 1708b11fab
commit 60bb475355
6 changed files with 45 additions and 5 deletions

View File

@@ -480,6 +480,7 @@ function buildMinimaxProvider(): ProviderConfig {
return {
baseUrl: MINIMAX_PORTAL_BASE_URL,
api: "anthropic-messages",
authHeader: true,
models: [
buildMinimaxTextModel({
id: MINIMAX_DEFAULT_MODEL_ID,
@@ -515,6 +516,7 @@ function buildMinimaxPortalProvider(): ProviderConfig {
return {
baseUrl: MINIMAX_PORTAL_BASE_URL,
api: "anthropic-messages",
authHeader: true,
models: [
buildMinimaxTextModel({
id: MINIMAX_DEFAULT_MODEL_ID,