feat(webui): usage and spend page

This commit is contained in:
2026-11-25 11:52:36 +00:00
parent bbb397cd75
commit ed57488980
19 changed files with 940 additions and 12 deletions
+15
View File
@@ -0,0 +1,15 @@
<script setup lang="ts">
import { computed } from 'vue'
import { splitModelId } from '@/lib/model-id'
const props = defineProps<{ id: string }>()
const parts = computed(() => splitModelId(props.id))
</script>
<template>
<span class="wb-model" :title="id">
<span v-if="parts.provider" class="wb-model-provider">{{ parts.provider }}</span>
<span class="wb-model-name">{{ parts.model }}</span>
</span>
</template>