From 91dc5d7fd23fcd3a7584a553a47f691e0bebbaa1 Mon Sep 17 00:00:00 2001 From: sxjeru Date: Sat, 21 Dec 2024 21:22:48 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20style:=20Add=20o1=20model=20in?= =?UTF-8?q?=20GitHub=20models=20(#5110)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/modelProviders/github.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/config/modelProviders/github.ts b/src/config/modelProviders/github.ts index e23b0a22b05c..0c8745d70162 100644 --- a/src/config/modelProviders/github.ts +++ b/src/config/modelProviders/github.ts @@ -4,6 +4,16 @@ import { ModelProviderCard } from '@/types/llm'; // https://github.com/marketplace/models const Github: ModelProviderCard = { chatModels: [ + { + description: '专注于高级推理和解决复杂问题,包括数学和科学任务。非常适合需要深入上下文理解和代理工作流程的应用程序。', + displayName: 'OpenAI o1', + enabled: true, + functionCall: false, + id: 'o1', + maxOutput: 100_000, + tokens: 200_000, + vision: true, + }, { description: '比 o1-preview 更小、更快,成本低80%,在代码生成和小上下文操作方面表现良好。', displayName: 'OpenAI o1-mini',