From 3dd2a5bfc5eed58abfe0e3f5ee0c895aaf4720be Mon Sep 17 00:00:00 2001 From: congyijiu <113180624+congyijiu@users.noreply.github.com> Date: Tue, 14 May 2024 20:47:06 +0800 Subject: [PATCH] Update constant.go To prevent the default testing of GPT-4o --- relay/channel/openai/constant.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/relay/channel/openai/constant.go b/relay/channel/openai/constant.go index fd0a602..3a62b89 100644 --- a/relay/channel/openai/constant.go +++ b/relay/channel/openai/constant.go @@ -1,14 +1,13 @@ package openai var ModelList = []string{ - "gpt-4o", "gpt-3.5-turbo", "gpt-3.5-turbo-0301", "gpt-3.5-turbo-0613", "gpt-3.5-turbo-1106", "gpt-3.5-turbo-0125", "gpt-3.5-turbo-16k", "gpt-3.5-turbo-16k-0613", "gpt-3.5-turbo-instruct", "gpt-4", "gpt-4-0314", "gpt-4-0613", "gpt-4-1106-preview", "gpt-4-0125-preview", "gpt-4-32k", "gpt-4-32k-0314", "gpt-4-32k-0613", "gpt-4-turbo-preview", "gpt-4-turbo", "gpt-4-turbo-2024-04-09", - "gpt-4-vision-preview", + "gpt-4-vision-preview", "gpt-4o", "text-embedding-ada-002", "text-embedding-3-small", "text-embedding-3-large", "text-curie-001", "text-babbage-001", "text-ada-001", "text-davinci-002", "text-davinci-003", "text-moderation-latest", "text-moderation-stable",