File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 55 :class =" [
66 hasVegaLite ? 'w-full' : '',
77 props.role === 'user' ? 'bg-lightListTableHeading dark:bg-darkListTableHeading self-end'
8- : 'bg-blue-100 dark:bg-blue-700/10 self-start'
8+ : 'border-none self-start'
99 ]"
1010 >
1111 <IncremarkContent
Original file line number Diff line number Diff line change 11<template >
22 <div
3- class =" border py-1 w-64 max-w-64 inline-flex items-center justify-center m-2 flex-col gap-3 rounded-xl px-2 cursor-pointer text-lightListTableHeadingText dark:text-darkListTableHeadingText hover:opacity-75 "
3+ class =" border py-1 inline-flex items-center justify-center m-2 flex-col gap-3 rounded-xl px-2 text-lightListTableHeadingText dark:text-darkListTableHeadingText select-none "
44 @click =" isInputOutputExpanded = !isInputOutputExpanded"
55 >
6- <div class =" flex items-center gap-3 " >
6+ <div class =" flex items-center gap-1 " >
77 <div class =" flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-white/70 dark:bg-blue-700/20" >
88 <Spinner v-if =" isRunning " class="h-4 w-4" />
99 <IconCheckOutline v-else class="h-4 w-4 text-lightPrimary dark:text-darkPrimary " />
1010 </div >
1111
1212 <div class =" min-w-0" >
13- <p class =" text-xs text-gray-500 dark:text-gray-400 font-bold" >
13+ <!-- < p class="text-xs text-gray-500 dark:text-gray-400 font-bold">
1414 {{ statusLabel }}
1515 <span v-if="props.data?.toolInfo?.durationMs" class="text-xs">({{ (props.data.toolInfo.durationMs / 1000).toFixed(2) }}s)</span>
16- </p >
16+ </p> -->
1717 <p class =" break-all font-mono text-sm leading-5" >
1818 {{ props.data?.toolInfo?.toolName }}
1919 </p >
2020 </div >
21- <IconAngleDownOutline
21+ <!-- < IconAngleDownOutline
2222 v-if="hasToolSections"
2323 :class="isInputOutputExpanded ? 'rotate-180' : 'rotate-0'"
2424 class="cursor-pointer transition-transform duration-200 hover:scale-105"
25- />
25+ /> -->
2626 </div >
27- <transition name =" expand" >
27+ <!-- < transition name="expand">
2828 <div v-if="isInputOutputExpanded" v-show="isInputOutputExpanded" class="max-h-72 space-y-3 overflow-y-auto pr-1">
2929 <section
3030 v-for="section in toolSections"
4242 </div>
4343 </section>
4444 </div>
45- </transition >
45+ </transition> -->
4646 </div >
4747</template >
4848
Original file line number Diff line number Diff line change 1515 <template v-for =" group in props .toolGroup " :key =" group .title " >
1616 <template v-if =" group .groupedTools .length > 1 " >
1717 <div
18- v-if =" !expandedGroups.includes(group.title)"
19- class =" max-w-64 w-auto flex items-center gap-2 px-2 m-2 py-2.5 cursor-pointer
20- hover:opacity-75 break-all font-mono text-sm leading-5
18+ class =" max-w-64 w-auto flex items-center gap-2 px-2 m-2 py-1
19+ break-all font-mono text-sm leading-5 select-none
2120 text-lightListTableHeadingText dark:text-darkListTableHeadingText
22- items-center justify-center
21+ items-center justify-center border rounded-xl
2322 "
2423 :class =" !expandedGroups.includes(group.title) ? 'border rounded-xl' : ''"
2524 @click =" toggleGroup(group.title)"
2625 >
2726 <IconCheckOutline class="w-6 h-6 p-1"/>
2827 {{ group.title }} {{ 'x' + group.groupedTools.length }}
29- <IconAngleDownOutline
28+ <!-- < IconAngleDownOutline
3029 class="transition-transform duration-200 hover:scale-105 hover:opacity-75"
3130 :class="expandedGroups.includes(group.title) ? 'rotate-180' : 'rotate-0'"
32- />
31+ /> -->
3332 </div >
3433 <!-- <transition name="expand">
3534 <div v-show="expandedGroups.includes(group.title)" class="flex flex-wrap gap-1"> -->
36- <ToolRenderer v-if =" expandedGroups .includes (group .title )" v-for =" part in group .groupedTools " :key =" part .toolInfo .toolCallId " :data =" part " />
35+ <!-- < ToolRenderer v-if="expandedGroups.includes(group.title)" v-for="part in group.groupedTools" :key="part.toolInfo.toolCallId" :data="part"/> -- >
3736 <!-- </div>
3837 </transition> -->
3938 </template >
You can’t perform that action at this time.
0 commit comments