From 8832d70e19b677481070c45dd75e669f298daae6 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Tue, 30 Dec 2025 16:52:14 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E9=94=81=E5=AE=9A=E9=80=BB=E8=BE=91=E5=85=81=E8=AE=B8?= =?UTF-8?q?=E8=87=AA=E7=94=B1=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/Input-field.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/Input-field.vue b/frontend/src/components/Input-field.vue index 0827f06f..c5ecccf1 100644 --- a/frontend/src/components/Input-field.vue +++ b/frontend/src/components/Input-field.vue @@ -129,9 +129,9 @@ const agentModelId = computed(() => { return currentAgentConfig.value?.model_id || null; }); -// 模型选择是否被智能体锁定 +// 模型选择是否被智能体锁定 - 已移除锁定逻辑,允许用户自由切换模型 const isModelLockedByAgent = computed(() => { - return hasAgentConfig.value && !!agentModelId.value; + return false; }); // Mention related state