From 7633940e03592e2863565bf3acbd98bf92a3e32f Mon Sep 17 00:00:00 2001 From: sigoden Date: Fri, 1 Mar 2024 09:58:19 +0000 Subject: chore: update order of openai models --- src/client/openai.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client/openai.rs') diff --git a/src/client/openai.rs b/src/client/openai.rs index 9c28473..4ac7d60 100644 --- a/src/client/openai.rs +++ b/src/client/openai.rs @@ -15,11 +15,11 @@ const API_BASE: &str = "https://api.openai.com/v1"; const MODELS: [(&str, usize, &str); 7] = [ ("gpt-3.5-turbo", 16385, "text"), ("gpt-3.5-turbo-1106", 16385, "text"), - ("gpt-4", 8192, "text"), - ("gpt-4-32k", 32768, "text"), - ("gpt-4-1106-preview", 128000, "text"), ("gpt-4-turbo-preview", 128000, "text"), ("gpt-4-vision-preview", 128000, "text,vision"), + ("gpt-4-1106-preview", 128000, "text"), + ("gpt-4", 8192, "text"), + ("gpt-4-32k", 32768, "text"), ]; pub const OPENAI_TOKENS_COUNT_FACTORS: TokensCountFactors = (5, 2); -- cgit v1.2.3