This commit is contained in:
xds
2026-02-06 09:26:52 +03:00
parent ab8ab7ef9f
commit 385fe5066b
2 changed files with 4 additions and 4 deletions

View File

@@ -857,12 +857,12 @@ const handleLogout = () => {
{{ gen.tech_prompt }} {{ gen.tech_prompt }}
</p> </p>
<div class="flex items-center gap-2 text-[14px] text-slate-500"> <div class="flex items-center gap-2 text-[10px] text-slate-500">
<span>{{ new Date(gen.created_at).toLocaleDateString() }}</span> <span>{{ new Date(gen.created_at).toLocaleDateString() }}</span>
<span class="capitalize" <span class="capitalize"
:class="gen.status === 'done' ? 'text-green-500' : (gen.status === 'failed' ? 'text-red-500' : 'text-amber-500')">{{ :class="gen.status === 'done' ? 'text-green-500' : (gen.status === 'failed' ? 'text-red-500' : 'text-amber-500')">{{
gen.status }}</span> gen.status }}</span>
<i v-if="gen.failed_reason" v-tooltip.right="gen.failed_reason" class="pi pi-exclamation-circle text-red-500" style="font-size: 14px;" /> <i v-if="gen.failed_reason" v-tooltip.right="gen.failed_reason" class="pi pi-exclamation-circle text-red-500" style="font-size: 12px;" />
</div> </div>
<!-- Metrics in history --> <!-- Metrics in history -->
<div v-if="gen.execution_time_seconds || gen.token_usage" <div v-if="gen.execution_time_seconds || gen.token_usage"

View File

@@ -653,12 +653,12 @@ onMounted(() => {
{{ gen.tech_prompt }} {{ gen.tech_prompt }}
</p> </p>
<div class="flex gap-2 items-center text-[14px] text-slate-500 mt-1"> <div class="flex gap-2 items-center text-[10px] text-slate-500 mt-1">
<span>{{ new Date(gen.created_at).toLocaleDateString() }}</span> <span>{{ new Date(gen.created_at).toLocaleDateString() }}</span>
<span class="capitalize" <span class="capitalize"
:class="gen.status === 'done' ? 'text-green-500' : 'text-amber-500'">{{ :class="gen.status === 'done' ? 'text-green-500' : 'text-amber-500'">{{
gen.status }}</span> gen.status }}</span>
<i v-if="gen.failed_reason" v-tooltip.right="gen.failed_reason" class="pi pi-exclamation-circle text-red-500" style="font-size: 14px;" /> <i v-if="gen.failed_reason" v-tooltip.right="gen.failed_reason" class="pi pi-exclamation-circle text-red-500" style="font-size: 12px;" />
</div> </div>
<div v-if="gen.execution_time_seconds || gen.token_usage" <div v-if="gen.execution_time_seconds || gen.token_usage"
class="flex flex-wrap gap-2 text-[9px] text-slate-500 font-mono mt-1 opacity-70"> class="flex flex-wrap gap-2 text-[9px] text-slate-500 font-mono mt-1 opacity-70">