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 and Ubuntu committed Dec 27, 2024
1 parent 3f5825d commit 2bc3dfa
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 2bc3dfa

Please sign in to comment.