Explorar el Código

feat: update model ratio

1808837298@qq.com hace 1 año
padre
commit
f0b808a41d
Se han modificado 1 ficheros con 1 adiciones y 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 {