Explorar o código

feat: update model ratio

1808837298@qq.com hai 1 ano
pai
achega
f0b808a41d
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  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 {