From 31d84ee32f448a304a3006707bf03928ad098c91 Mon Sep 17 00:00:00 2001 From: "1808837298@qq.com" <1808837298@qq.com> Date: Thu, 3 Oct 2024 20:48:47 +0800 Subject: [PATCH] feat: update model ratio --- common/model-ratio.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/model-ratio.go b/common/model-ratio.go index 36dc19e7..16ffded3 100644 --- a/common/model-ratio.go +++ b/common/model-ratio.go @@ -340,6 +340,9 @@ func GetCompletionRatio(name string) float64 { return 3 } if strings.HasPrefix(name, "gpt-4o") { + if name == "gpt-4o-2024-05-13" { + return 3 + } return 4 } return 2