Sfoglia il codice sorgente

feat: update model ratio

1808837298@qq.com 1 anno fa
parent
commit
f0b808a41d
1 ha cambiato i file con 1 aggiunte e 4 eliminazioni
  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 {