Skip to content

Commit

Permalink
OpenAI: o1 support label
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Sep 13, 2024
1 parent de25e58 commit 1d3321b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/modules/llms/server/openai/models.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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',
Expand All @@ -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
Expand All @@ -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',
Expand Down

0 comments on commit 1d3321b

Please sign in to comment.