File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 activeSkillCount: number ;
1111 onToggleSidebar: () => void ;
1212 onOpenModelSheet: () => void ;
13- onNewChat: () => void ;
1413 }
1514
1615 const {
2120 activeSkillCount,
2221 onToggleSidebar,
2322 onOpenModelSheet,
24- onNewChat,
2523 }: Props = $props ();
2624
2725 const connectionDotClass = $derived .by (() => {
7371 ⚡ {activeSkillCount }
7472 </span >
7573 {/if }
76-
77- <button class ="tb-btn newchat-btn" onclick ={onNewChat } aria-label =" New chat" >
78- <svg width =" 18" height =" 18" viewBox =" 0 0 18 18" fill =" none" stroke =" currentColor" stroke-width =" 1.8" stroke-linecap =" round" stroke-linejoin =" round" >
79- <path d =" M3 13.5V16H5.5L14 7.5L11 4.5L3 13.5Z" />
80- <path d =" M14 2L16 4L14 7.5L11 4.5L14 2Z" />
81- </svg >
82- </button >
8374</div >
8475
8576<style >
Original file line number Diff line number Diff line change 313313 {activeSkillCount }
314314 onToggleSidebar ={() => sidebarOpen = true }
315315 onOpenModelSheet ={() => modelSheetOpen = true }
316- onNewChat ={handleNewChat }
317316 />
318317
319318 <div class =" terminal" >
You can’t perform that action at this time.
0 commit comments