Skip to content

Commit

Permalink
feat(ai): support for OpenAI o1 models (#768)
Browse files Browse the repository at this point in the history
Co-authored-by: Jack Williams <jack@inngest.com>
  • Loading branch information
charlypoly and jpwilliams authored Dec 5, 2024
1 parent aed6b43 commit af66ad5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/breezy-hotels-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"inngest": patch
---

Add `o1-preview` and `o1-mini` to possible OpenAI models
2 changes: 2 additions & 0 deletions packages/inngest/src/components/ai/models/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ export namespace OpenAi {
| "chatgpt-4o-latest"
| "gpt-4o-mini"
| "gpt-4"
| "o1-preview"
| "o1-mini"
| "gpt-3.5-turbo";

/**
Expand Down

0 comments on commit af66ad5

Please sign in to comment.