Explorar el Código

feat: update gemini flash completion ratio #479

CalciumIon hace 1 año
padre
commit
af33f36c7b
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      common/model-ratio.go

+ 4 - 1
common/model-ratio.go

@@ -375,7 +375,10 @@ func GetCompletionRatio(name string) float64 {
 		return 3
 	}
 	if strings.HasPrefix(name, "gemini-") {
-		return 4
+		if strings.Contains(name, "flash") {
+			return 4
+		}
+		return 3
 	}
 	if strings.HasPrefix(name, "command") {
 		switch name {