Skip to content

Commit

Permalink
🐛 fix: fix o1Models list (lobehub#5183)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonStudio authored Dec 26, 2024
1 parent d5bb78b commit 10d9904
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libs/agent-runtime/openai/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ export const o1Models = new Set([
'o1-preview-2024-09-12',
'o1-mini',
'o1-mini-2024-09-12',
'o1',
'o1-2024-12-17',
]);

export const pruneO1Payload = (payload: ChatStreamPayload) => ({
Expand Down

0 comments on commit 10d9904

Please sign in to comment.