refac: Improve banner handling and command visibility in chat UI

This commit is contained in:
Timothy Jaeryang Baek
2025-07-04 20:55:31 +04:00
parent c9e1f454fc
commit db0d2ae6d4
6 changed files with 74 additions and 57 deletions

View File

@@ -327,7 +327,7 @@
let command = '';
let showCommands = false;
export let showCommands = false;
$: showCommands = ['/', '#', '@'].includes(command?.charAt(0)) || '\\#' === command?.slice(0, 2);
let showTools = false;