From 3aa86a8cd91a26e5d2793dd2543ae3f7f5adb6ed Mon Sep 17 00:00:00 2001 From: CalciumIon <1808837298@qq.com> Date: Wed, 18 Sep 2024 20:37:22 +0800 Subject: [PATCH] feat: update gemini completion ratio #479 --- common/model-ratio.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/model-ratio.go b/common/model-ratio.go index b45ed29..9dcd170 100644 --- a/common/model-ratio.go +++ b/common/model-ratio.go @@ -375,7 +375,7 @@ func GetCompletionRatio(name string) float64 { return 3 } if strings.HasPrefix(name, "gemini-") { - return 3 + return 4 } if strings.HasPrefix(name, "command") { switch name {