瀏覽代碼

feat: update model ratio

1808837298@qq.com 1 年之前
父節點
當前提交
e41540f84f
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      common/model-ratio.go

+ 3 - 0
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