fix: modelname (#9183)

This commit is contained in:
SuYao 2025-08-14 20:06:57 +08:00 committed by GitHub
parent bf30bf28a9
commit 37dccd93e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2721,7 +2721,7 @@ export function isSupportedThinkingTokenDoubaoModel(model?: Model): boolean {
const modelId = getLowerBaseModelName(model.id, '/')
return DOUBAO_THINKING_MODEL_REGEX.test(modelId) || DOUBAO_THINKING_MODEL_REGEX.test(modelId)
return DOUBAO_THINKING_MODEL_REGEX.test(modelId) || DOUBAO_THINKING_MODEL_REGEX.test(model.name)
}
export function isClaudeReasoningModel(model?: Model): boolean {