diff --git a/llama_stack/ui/components/layout/app-sidebar.tsx b/llama_stack/ui/components/layout/app-sidebar.tsx index 007f88537..9fa98d86b 100644 --- a/llama_stack/ui/components/layout/app-sidebar.tsx +++ b/llama_stack/ui/components/layout/app-sidebar.tsx @@ -23,12 +23,15 @@ import { SidebarHeader, } from "@/components/ui/sidebar"; +// Extracted Chat Playground item +const chatPlaygroundItem = { + title: "Chat Playground", + url: "/chat-playground", + icon: MessageCircle, +}; + +// Removed Chat Playground from log items const logItems = [ - { - title: "Chat Playground", - url: "/chat-playground", - icon: MessageCircle, - }, { title: "Chat Completions", url: "/logs/chat-completions", @@ -60,6 +63,35 @@ export function AppSidebar() { Llama Stack + {/* Chat Playground as its own section */} + + + + + + + + {chatPlaygroundItem.title} + + + + + + + + {/* Logs section */} Logs diff --git a/llama_stack/ui/components/ui/message-input.tsx b/llama_stack/ui/components/ui/message-input.tsx index 32761260d..3e582e9a2 100644 --- a/llama_stack/ui/components/ui/message-input.tsx +++ b/llama_stack/ui/components/ui/message-input.tsx @@ -254,6 +254,7 @@ export function MessageInput({ variant="outline" className="h-8 w-8" aria-label="Attach a file" + disabled={true} onClick={async () => { const files = await showFileUploadDialog() addFiles(files)