From 8a5018ef0fd429c75bcff3b1f7c9050a0c1f84ec Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Wed, 14 May 2025 10:32:02 -0700 Subject: [PATCH] fix spacing for mode toggle keyboard shortcut and agent not supported copy --- gui/src/components/modelSelection/ModeSelect.tsx | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/gui/src/components/modelSelection/ModeSelect.tsx b/gui/src/components/modelSelection/ModeSelect.tsx index c1f1552ef..23caef356 100644 --- a/gui/src/components/modelSelection/ModeSelect.tsx +++ b/gui/src/components/modelSelection/ModeSelect.tsx @@ -173,17 +173,24 @@ function ModeSelect() { {mode === "chat" && } - +
Agent
- {mode === "agent" && } - {!agentModeSupported && (Not supported)} + {agentModeSupported ? ( + mode === "agent" && + ) : ( + (Not supported) + )}
- {metaKeyLabel}. for next mode + {`${metaKeyLabel} . for next mode`}