Skip to content

Commit

Permalink
openai o1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
nbonamy committed Sep 20, 2024
1 parent de9c470 commit a988b56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/llm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const loadOpenAIModels = async () => {

// store
store.config.engines.openai.models = {
chat: models.filter(model => model.id.startsWith('gpt-')),
chat: models.filter(model => model.id.startsWith('gpt-') || model.id.startsWith('o1-')),
image: models.filter(model => model.id.startsWith('dall-e-'))
}

Expand Down

0 comments on commit a988b56

Please sign in to comment.