Skip to content

Commit

Permalink
feat: added openai o3-mini
Browse files Browse the repository at this point in the history
  • Loading branch information
xavidop committed Feb 7, 2025
1 parent c630b40 commit 6e6852d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/github_llms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,22 @@ export const openAIO1 = modelRef({
configSchema: GenerationCommonConfigSchema,
});

export const openAIO3Mini = modelRef({
name: "github/o3-mini",
info: {
versions: ["o3-mini"],
label: "OpenAI - o3-mini",
supports: {
multiturn: true,
tools: false,
media: false,
systemRole: false,
output: ["text", "json"],
},
},
configSchema: GenerationCommonConfigSchema,
});

export const metaLlama370bInstruct = modelRef({
name: "github/meta-llama-3-70b-instruct",
info: {
Expand Down Expand Up @@ -662,6 +678,7 @@ export const SUPPORTED_GITHUB_MODELS: Record<string, any> = {
"o1-preview": openAIO1Preview,
"o1-mini": openAIO1Mini,
"o1": openAIO1,
"o3-mini": openAIO3Mini,
"meta-llama-3-70b-instruct": metaLlama370bInstruct,
"meta-llama-3-8b-instruct": metaLlama38bInstruct,
"meta-llama-3.1-405b-instruct": metaLlama31405bInstruct,
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
openAIO1Preview,
openAIO1Mini,
openAIO1,
openAIO3Mini,
metaLlama370bInstruct,
metaLlama38bInstruct,
metaLlama31405bInstruct,
Expand Down Expand Up @@ -60,6 +61,7 @@ export {
openAIO1Preview,
openAIO1Mini,
openAIO1,
openAIO3Mini,
metaLlama370bInstruct,
metaLlama38bInstruct,
metaLlama31405bInstruct,
Expand Down

0 comments on commit 6e6852d

Please sign in to comment.