From 93dbe11014cf967690727c25e89d9d1075008c24 Mon Sep 17 00:00:00 2001 From: blackhao <13851610112@163.com> Date: Sat, 6 Dec 2025 01:30:57 -0600 Subject: UX --- frontend/src/components/nodes/LLMNode.tsx | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'frontend/src/components/nodes/LLMNode.tsx') diff --git a/frontend/src/components/nodes/LLMNode.tsx b/frontend/src/components/nodes/LLMNode.tsx index cdd402c..592ab5b 100644 --- a/frontend/src/components/nodes/LLMNode.tsx +++ b/frontend/src/components/nodes/LLMNode.tsx @@ -49,18 +49,32 @@ const LLMNode = ({ id, data, selected }: NodeProps) => { const inputsToShow = Math.max(maxConnectedIndex + 2, 1); + const isDisabled = data.disabled; + return ( -
+
-
+
{data.status === 'loading' ? ( ) : ( - + )}
-
{data.label}
+
+ {data.label} + {isDisabled && (disabled)} +
{data.model}
-- cgit v1.2.3