Support ERNIE-5.0-Thinking-Preview

This commit is contained in:
ideoutrea
2026-02-06 17:49:54 +08:00
parent 7af00f040a
commit 360851366f

View File

@@ -423,6 +423,15 @@ export function buildQianfanProvider(): ProviderConfig {
contextWindow: QIANFAN_DEFAULT_CONTEXT_WINDOW,
maxTokens: QIANFAN_DEFAULT_MAX_TOKENS,
},
{
id: "ernie-5.0-thinking-preview",
name: "ERNIE-5.0-Thinking-Preview",
reasoning: true,
input: ["text", "image"],
cost: QIANFAN_DEFAULT_COST,
contextWindow: 119000,
maxTokens: 64000,
},
],
};
}