chore: update order of openai models

pull/326/head
sigoden 4 months ago
parent 75fe0b9205
commit 7633940e03

@ -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);

Loading…
Cancel
Save