add luma upload (#116)

This commit is contained in:
HCode authored and GitHub committed 2024-08-17 21:16:38 +08:00
1 parent 301f1d09af
commit fd8eb9ffcd
7 files changed
+192 -31

No files matched your search

+2 -4
View File
@@ -7,15 +7,13 @@
<div class="bot">
{{ $t('luma.name.lumaBot') }}
<span class="datetime">
<!-- {{ $dayjs.format('' + new Date(parseFloat(modelValue?.created_at || '') * 1000)) }} -->
{{ $dayjs.format('' + new Date(parseFloat(modelValue?.created_at || '') * 1000)) }}
</span>
</div>
<div class="info">
<p v-if="modelValue?.request?.prompt" class="prompt mt-2">
{{ modelValue?.request?.prompt }}
<span v-if="modelValue?.response && Object.keys(modelValue.response).length === 0">
- ({{ $t('luma.status.pending') }})
</span>
<span v-if="!modelValue?.response"> - ({{ $t('luma.status.pending') }}) </span>
</p>
</div>
<!-- Display success message -->