From 02b68035006294e1da052aa046e092918d5f8b83 Mon Sep 17 00:00:00 2001 From: Charly POLY Date: Thu, 5 Dec 2024 15:54:59 +0100 Subject: [PATCH 1/2] feat(ai): support for OpenAI `o1` models --- packages/inngest/src/components/ai/models/openai.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/inngest/src/components/ai/models/openai.ts b/packages/inngest/src/components/ai/models/openai.ts index 936d1e97..fe61dbd7 100644 --- a/packages/inngest/src/components/ai/models/openai.ts +++ b/packages/inngest/src/components/ai/models/openai.ts @@ -45,6 +45,8 @@ export namespace OpenAi { | "chatgpt-4o-latest" | "gpt-4o-mini" | "gpt-4" + | "o1-preview" + | "o1-mini" | "gpt-3.5-turbo"; /** From 417fe47f7b215ada6d2af3cb16e1149bfd7f18bd Mon Sep 17 00:00:00 2001 From: Jack Williams Date: Thu, 5 Dec 2024 15:06:44 +0000 Subject: [PATCH 2/2] Create breezy-hotels-happen.md --- .changeset/breezy-hotels-happen.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/breezy-hotels-happen.md diff --git a/.changeset/breezy-hotels-happen.md b/.changeset/breezy-hotels-happen.md new file mode 100644 index 00000000..07d47774 --- /dev/null +++ b/.changeset/breezy-hotels-happen.md @@ -0,0 +1,5 @@ +--- +"inngest": patch +--- + +Add `o1-preview` and `o1-mini` to possible OpenAI models