From 10d9904e7176e9fbaf8172a2bf490b7c414b4689 Mon Sep 17 00:00:00 2001 From: BrandonStudio <55647556+BrandonStudio@users.noreply.github.com> Date: Thu, 26 Dec 2024 12:51:13 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20fix=20o1Models=20list=20(?= =?UTF-8?q?#5183)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libs/agent-runtime/openai/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libs/agent-runtime/openai/index.ts b/src/libs/agent-runtime/openai/index.ts index 9c42965cce07..74b7e434976a 100644 --- a/src/libs/agent-runtime/openai/index.ts +++ b/src/libs/agent-runtime/openai/index.ts @@ -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) => ({