From f0b808a41d606be8a1341884dc54b1ebe8b6b45e Mon Sep 17 00:00:00 2001 From: "1808837298@qq.com" <1808837298@qq.com> Date: Thu, 3 Oct 2024 21:12:09 +0800 Subject: [PATCH] feat: update model ratio --- common/model-ratio.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/common/model-ratio.go b/common/model-ratio.go index 16ffded3..a4a05285 100644 --- a/common/model-ratio.go +++ b/common/model-ratio.go @@ -375,10 +375,7 @@ func GetCompletionRatio(name string) float64 { return 3 } if strings.HasPrefix(name, "gemini-") { - if strings.Contains(name, "flash") { - return 4 - } - return 3 + return 4 } if strings.HasPrefix(name, "command") { switch name {