mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-19 22:52:08 +08:00
fix: add anthropic model to temp and top p check
This commit is contained in:
parent
ee4c310725
commit
50d1342680
@ -96,7 +96,8 @@ export function isNotSupportTemperatureAndTopP(model: Model): boolean {
|
|||||||
if (
|
if (
|
||||||
(isOpenAIReasoningModel(model) && !isOpenAIOpenWeightModel(model)) ||
|
(isOpenAIReasoningModel(model) && !isOpenAIOpenWeightModel(model)) ||
|
||||||
isOpenAIChatCompletionOnlyModel(model) ||
|
isOpenAIChatCompletionOnlyModel(model) ||
|
||||||
isQwenMTModel(model)
|
isQwenMTModel(model) ||
|
||||||
|
isAnthropicModel(model)
|
||||||
) {
|
) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user