From fbc03086206e935c8674c6aa7b381c97d13fd943 Mon Sep 17 00:00:00 2001 From: Buer <42402987+MartialBE@users.noreply.github.com> Date: Tue, 20 Feb 2024 15:08:40 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20missing=20model=20gpt-4-t?= =?UTF-8?q?urbo-preview=20(#69)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/model-ratio.go | 1 + 1 file changed, 1 insertion(+) diff --git a/common/model-ratio.go b/common/model-ratio.go index d2824bce..96256c24 100644 --- a/common/model-ratio.go +++ b/common/model-ratio.go @@ -36,6 +36,7 @@ func init() { "gpt-4-preview": {[]float64{5, 15}, ChannelTypeOpenAI}, "gpt-4-1106-preview": {[]float64{5, 15}, ChannelTypeOpenAI}, "gpt-4-0125-preview": {[]float64{5, 15}, ChannelTypeOpenAI}, + "gpt-4-turbo-preview": {[]float64{5, 15}, ChannelTypeOpenAI}, "gpt-4-vision-preview": {[]float64{5, 15}, ChannelTypeOpenAI}, // $0.0005 / 1K tokens $0.0015 / 1K tokens "gpt-3.5-turbo": {[]float64{0.25, 0.75}, ChannelTypeOpenAI},