Spaces:
Running
Running
fix: Adjust SidebarGroup visibility and reduce experimental throttle for chat functionality
Browse files- components/chat-sidebar.tsx +1 -1
- components/chat.tsx +1 -1
components/chat-sidebar.tsx
CHANGED
@@ -245,7 +245,7 @@ export function ChatSidebar() {
|
|
245 |
|
246 |
<SidebarGroup className="flex-shrink-0 invisible">
|
247 |
<SidebarGroupLabel className={cn(
|
248 |
-
"px-
|
249 |
isCollapsed ? "sr-only" : ""
|
250 |
)}>
|
251 |
MCP Servers
|
|
|
245 |
|
246 |
<SidebarGroup className="flex-shrink-0 invisible">
|
247 |
<SidebarGroupLabel className={cn(
|
248 |
+
"px-2 pt-0 text-xs font-medium text-muted-foreground/80 uppercase tracking-wider",
|
249 |
isCollapsed ? "sr-only" : ""
|
250 |
)}>
|
251 |
MCP Servers
|
components/chat.tsx
CHANGED
@@ -123,7 +123,7 @@ export default function Chat() {
|
|
123 |
chatId: chatId || generatedChatId, // Use generated ID if no chatId in URL
|
124 |
userId,
|
125 |
},
|
126 |
-
experimental_throttle:
|
127 |
onFinish: () => {
|
128 |
// Invalidate the chats query to refresh the sidebar
|
129 |
if (userId) {
|
|
|
123 |
chatId: chatId || generatedChatId, // Use generated ID if no chatId in URL
|
124 |
userId,
|
125 |
},
|
126 |
+
experimental_throttle: 75,
|
127 |
onFinish: () => {
|
128 |
// Invalidate the chats query to refresh the sidebar
|
129 |
if (userId) {
|