From bd09e67988a7db22a329c875733204e3c3ea4d36 Mon Sep 17 00:00:00 2001 From: gaoziman <2942894660@qq.com> Date: Wed, 24 Dec 2025 00:09:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=81=8A=E5=A4=A9=E9=A1=B5=E9=9D=A2):=20?= =?UTF-8?q?=E6=80=9D=E8=80=83=E6=A8=A1=E5=BC=8F=E5=BC=80=E5=85=B3=E4=BB=85?= =?UTF-8?q?=E5=9C=A8=E9=9D=9ECodex=E6=A8=A1=E5=9E=8B=E6=97=B6=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加模型类型判断逻辑 - Codex 模型不支持思考模式,隐藏开关按钮 - 优化用户体验,避免无效操作 --- src/app/chat/[id]/page.tsx | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/src/app/chat/[id]/page.tsx b/src/app/chat/[id]/page.tsx index 6c87f07..856b554 100644 --- a/src/app/chat/[id]/page.tsx +++ b/src/app/chat/[id]/page.tsx @@ -479,20 +479,22 @@ export default function ChatPage({ params }: PageProps) { )}
- {/* 思考模式开关 */} - + {/* 思考模式开关 - 只在非 Codex 模型时显示 */} + {!selectedModelId.toLowerCase().includes('codex') && ( + + )}