fix(streaming): added

This commit is contained in:
Stan Girard 2023-06-30 17:32:12 +02:00
parent ddab4a7c6c
commit 1e47024d17
2 changed files with 0 additions and 4 deletions

View File

@ -31,8 +31,6 @@ export const ModelConfig = ({
const defineMaxTokens = (model: Model | PaidModels): number => {
//At the moment is evaluating only models from OpenAI
switch (model) {
case "gpt-3.5-turbo":
return 3000;
case "gpt-3.5-turbo-0613":
return 3000;
case "gpt-3.5-turbo-16k":

View File

@ -21,12 +21,10 @@ export type ConfigContext = {
// export const openAiModels = ["gpt-3.5-turbo", "gpt-4"] as const; ## TODO activate GPT4 when not in demo mode
export const openAiModels = [
// "gpt-3.5-turbo",
"gpt-3.5-turbo-0613",
"gpt-3.5-turbo-16k",
] as const;
export const openAiPaidModels = [
// "gpt-3.5-turbo",
"gpt-3.5-turbo-0613",
"gpt-3.5-turbo-16k",
"gpt-4",