victor HF Staff commited on
Commit
bf0f960
·
1 Parent(s): d0b7728

fix: Adjust SidebarGroup visibility and reduce experimental throttle for chat functionality

Browse files
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-4 pt-0 text-xs font-medium text-muted-foreground/80 uppercase tracking-wider",
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: 500,
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) {