소스 검색

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