Skip to content

Commit

Permalink
feat: support openai o1-preview model
Browse files Browse the repository at this point in the history
  • Loading branch information
rxliuli committed Sep 13, 2024
1 parent 96cc8f2 commit ccc1660
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/llm/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ export function openaiBase(options: {
'davinci-002',
'gpt-4-turbo',
'gpt-4o-mini-2024-07-18',
'o1-preview',
'o1-mini',
],
requiredEnv: ['OPENAI_API_KEY'],
invoke(req) {
Expand Down

0 comments on commit ccc1660

Please sign in to comment.