mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 17:30:23 +08:00
feat(usage): 统计表格新增输入/输出与缓存创建token细分展示
- 后端接口(admin/user_me/query)新增 output_tokens、cache_creation_tokens、total_input_context 字段返回 - 前端统计表格(模型/提供商/API格式)合并 Tokens 列为"输入/输出"+"缓存读取/创建"两行紧凑布局 - 合并"缓存Token"和"缓存命中率"为单一"命中率"列,减少表格宽度 - 修正 UsageRecordsTable 缩进及模板格式
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
<template>
|
||||
<div class="space-y-6 pb-8">
|
||||
<!-- 面包屑旁的折叠按钮 -->
|
||||
<Teleport to="#header-actions-right" defer>
|
||||
<Teleport
|
||||
to="#header-actions-right"
|
||||
defer
|
||||
>
|
||||
<button
|
||||
class="flex h-9 w-9 items-center justify-center rounded-lg text-muted-foreground hover:text-foreground hover:bg-muted/50 transition"
|
||||
:title="statsExpanded ? '收起用量分析' : '展开用量分析'"
|
||||
|
||||
Reference in New Issue
Block a user