From 00bd63126085adddb02014e96d3c82ab1bcfe38c Mon Sep 17 00:00:00 2001 From: DirkSchlossmacher <62424946+DirkSchlossmacher@users.noreply.github.com> Date: Tue, 14 May 2024 14:43:01 +0200 Subject: [PATCH] model listing --- app/constant.ts | 15 ++++----------- app/masks/en.ts | 2 +- public/prompts.json | 2 +- 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/app/constant.ts b/app/constant.ts index d3f477435..d9989bb3e 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -124,6 +124,7 @@ export const GEMINI_SUMMARIZE_MODEL = "gemini-pro"; export const KnowledgeCutOffDate: Record = { default: "2021-09", + "gpt-4o": "2023-12", "gpt-4-turbo": "2023-12", "gpt-4-turbo-2024-04-09": "2023-12", "gpt-4-turbo-preview": "2023-12", @@ -143,6 +144,7 @@ const openaiModels = [ // "gpt-4-0613", "gpt-4-32k", // "gpt-4-32k-0613", + "gpt-4o", // "gpt-4-turbo", // "gpt-4-turbo-preview", // "gpt-4-vision-preview", @@ -165,15 +167,6 @@ const anthropicModels = [ ]; export const DEFAULT_MODELS = [ - { - name: "gpt-4-turbo-2024-04-09", - available: true, - provider: { - id: "openai", - providerName: "OpenAI", - providerType: "openai", - }, - }, { name: "gpt-4o", available: true, @@ -203,7 +196,7 @@ export const DEFAULT_MODELS = [ })), ...googleModels.map((name) => ({ name, - available: true, + available: false, provider: { id: "google", providerName: "Google", @@ -212,7 +205,7 @@ export const DEFAULT_MODELS = [ })), ...anthropicModels.map((name) => ({ name, - available: true, + available: false, provider: { id: "anthropic", providerName: "Anthropic", diff --git a/app/masks/en.ts b/app/masks/en.ts index 79251865f..172811200 100644 --- a/app/masks/en.ts +++ b/app/masks/en.ts @@ -210,7 +210,7 @@ export const EN_MASKS: BuiltinMask[] = [ }, { "avatar":"1f3e2", - "name":"AdEx Circumvent Limit of 4k Output-Tokens (despite 128k Input-Tokens @ \"GPT-4 Turbo\")", + "name":"AdEx Circumvent Limit of 4k Output-Tokens (despite 128k Input-Tokens @ \"GPT-4o\")", "context":[ { "id":"SqeZ3I6qPU1vtGanCKfpz", diff --git a/public/prompts.json b/public/prompts.json index 64e86f5f1..dbdf82f73 100644 --- a/public/prompts.json +++ b/public/prompts.json @@ -4,7 +4,7 @@ ], "en": [ [ - "AdEx Circumvent Limit of 4k Output-Tokens (despite 128k Input-Tokens with \"GPT-4 Turbo\") ", + "AdEx Circumvent Limit of 4k Output-Tokens (despite 128k Input-Tokens with \"GPT-4o\") ", "Generate any output against below tasks by restricting yourself as follows:\n - limit the output to a maximum of 2000 words or 4000 tokens\n - output should, however, be without summarizing or reducing the content of the original\n - to limit the output, no additional formatting should be done\n - when the user messages \"continue,\" resume the output from the point where the last output ended\n - the user should only after all individual outputs, achieve the actual, whole result by combining them, but should not have to do any further formatting\n\nYour task:\n * Translate the following ## Text to German\n\n## Text\n\n" ], [