From 410d16f997c3d97115ee23d884d4c84da88f15a1 Mon Sep 17 00:00:00 2001 From: Edwin Jose Date: Mon, 27 Jan 2025 09:22:21 -0500 Subject: [PATCH] fix: fixes AgentExecutor handle greyed out (#5900) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update styleUtils.ts * 📝 (index.css): update color values for datatype-purple and datatype-purple-foreground to improve design consistency --------- Co-authored-by: cristhianzl --- src/frontend/src/style/index.css | 6 +++--- src/frontend/src/utils/styleUtils.ts | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/frontend/src/style/index.css b/src/frontend/src/style/index.css index df817ad85..217337401 100644 --- a/src/frontend/src/style/index.css +++ b/src/frontend/src/style/index.css @@ -307,9 +307,9 @@ --datatype-fuchsia: 291.1 93.1% 82.9%; --datatype-fuchsia-foreground: 293.4 69.5% 48.8%; - - --datatype-purple: 269.2 97.4% 85.1%; - --datatype-purple-foreground: 293.4 69.5% 48.8%; + + --datatype-purple: 268.6 100% 91.8%; + --datatype-purple-foreground: 272.1 71.7% 47.1%; --datatype-cyan: 187 92.4% 69%; --datatype-cyan-foreground: 191.6 91.4% 36.5%; diff --git a/src/frontend/src/utils/styleUtils.ts b/src/frontend/src/utils/styleUtils.ts index c158cc351..2fcfeb84b 100644 --- a/src/frontend/src/utils/styleUtils.ts +++ b/src/frontend/src/utils/styleUtils.ts @@ -432,6 +432,7 @@ export const nodeColors: { [char: string]: string } = { BaseLanguageModel: "#c026d3", LanguageModel: "#c026d3", Agent: "#903BBE", + AgentExecutor: "#903BBE", Tool: "#00fbfc", }; @@ -480,6 +481,7 @@ export const nodeColorsName: { [char: string]: string } = { BaseLanguageModel: "fuchsia", LanguageModel: "fuchsia", Agent: "purple", + AgentExecutor: "purple", Tool: "cyan", BaseChatMemory: "cyan", BaseChatMessageHistory: "orange",