ソースを参照

feat: update model ratio

1808837298@qq.com 1 年間 前
コミット
f0b808a41d
1 ファイル変更1 行追加4 行削除
  1. 1 4
      common/model-ratio.go

+ 1 - 4
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 {