diff --git a/tools/ui/src/lib/components/app/chat/ChatTabs/ChatTabItem.svelte b/tools/ui/src/lib/components/app/chat/ChatTabs/ChatTabItem.svelte new file mode 100644 index 0000000000..0ac06ca4ed --- /dev/null +++ b/tools/ui/src/lib/components/app/chat/ChatTabs/ChatTabItem.svelte @@ -0,0 +1,126 @@ + + +
+ {#if isLoading} + + + {#snippet child({ props })} + + {/snippet} + + + +

Stop generation

+
+
+ {/if} + + + + + + {#snippet child({ props })} + + {/snippet} + + + +

Close tab

+
+
+
+ + diff --git a/tools/ui/src/lib/components/app/chat/ChatTabs/ChatTabs.svelte b/tools/ui/src/lib/components/app/chat/ChatTabs/ChatTabs.svelte index 069741f98b..ec53e735fe 100644 --- a/tools/ui/src/lib/components/app/chat/ChatTabs/ChatTabs.svelte +++ b/tools/ui/src/lib/components/app/chat/ChatTabs/ChatTabs.svelte @@ -1,8 +1,8 @@