From 1d3321b336cab3010d98b491bdebeca7dec9d2bd Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Fri, 13 Sep 2024 11:02:33 -0700 Subject: [PATCH] OpenAI: o1 support label --- src/modules/llms/server/openai/models.data.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/modules/llms/server/openai/models.data.ts b/src/modules/llms/server/openai/models.data.ts index 18132430e..fa878d996 100644 --- a/src/modules/llms/server/openai/models.data.ts +++ b/src/modules/llms/server/openai/models.data.ts @@ -92,7 +92,7 @@ const _knownOpenAIChatModels: ManualMappings = [ { idPrefix: 'o1-preview', label: 'o1 Preview', - description: 'Points to the most recent snapshot of the o1 model: o1-preview-2024-09-12', + description: 'Supported in Big-AGI 2. Points to the most recent snapshot of the o1 model: o1-preview-2024-09-12', symLink: 'o1-preview-2024-09-12', hidden: true, // copied from symlinked @@ -104,9 +104,10 @@ const _knownOpenAIChatModels: ManualMappings = [ isPreview: true, }, { + hidden: true, // we can't support it in Big-AGI 1 idPrefix: 'o1-preview-2024-09-12', label: 'o1 Preview (2024-09-12)', - description: 'New reasoning model for complex tasks that require broad general knowledge.', + description: 'Supported in Big-AGI 2. New reasoning model for complex tasks that require broad general knowledge.', contextWindow: 128000, maxCompletionTokens: 32768, trainingDataCutoff: 'Oct 2023', @@ -119,7 +120,7 @@ const _knownOpenAIChatModels: ManualMappings = [ { idPrefix: 'o1-mini', label: 'o1 Mini', - description: 'Points to the most recent o1-mini snapshot: o1-mini-2024-09-12', + description: 'Supported in Big-AGI 2. Points to the most recent o1-mini snapshot: o1-mini-2024-09-12', symLink: 'o1-mini-2024-09-12', hidden: true, // copied from symlinked @@ -131,9 +132,10 @@ const _knownOpenAIChatModels: ManualMappings = [ isPreview: true, }, { + hidden: true, // we can't support it in Big-AGI 1 idPrefix: 'o1-mini-2024-09-12', label: 'o1 Mini (2024-09-12)', - description: 'Fast, cost-efficient reasoning model tailored to coding, math, and science use cases.', + description: 'Supported in Big-AGI 2. Fast, cost-efficient reasoning model tailored to coding, math, and science use cases.', contextWindow: 128000, maxCompletionTokens: 65536, trainingDataCutoff: 'Oct 2023',