refactor: 移除模型锁定逻辑允许自由切换

This commit is contained in:
wizardchen
2025-12-30 16:52:14 +08:00
committed by lyingbug
parent ac00206e77
commit 8832d70e19
+2 -2
View File
@@ -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