fawney19
|
f54127cba5
|
refactor(frontend): optimize view pages (admin, shared, user)
|
2025-12-13 22:26:47 +08:00 |
|
fawney19
|
54370cb3f9
|
refactor(frontend): optimize feature components (models, providers, usage)
|
2025-12-13 22:26:36 +08:00 |
|
fawney19
|
07b81351d9
|
refactor(frontend): optimize layout (remove MobileNav, enhance MainLayout)
|
2025-12-13 22:26:23 +08:00 |
|
fawney19
|
5d829a100a
|
refactor(frontend): optimize UI components (ScatterChart, ActivityHeatmap, table-card)
|
2025-12-13 22:26:09 +08:00 |
|
fawney19
|
006cd2c3e5
|
refactor(frontend): 补充优化剩余组件
- 优化 TooltipContent 组件
- 改进 ModelsTab 和 UserModelDetailDrawer 组件
|
2025-12-12 20:22:27 +08:00 |
|
fawney19
|
90ca5065ee
|
refactor(frontend): 优化配置和类型定义
- 更新 ESLint 配置
- 优化 Vue 类型声明文件
|
2025-12-12 20:22:22 +08:00 |
|
fawney19
|
66307f8f49
|
refactor(frontend): 优化工具和 API 模块
- 改进 sanitize 工具函数
- 优化 mocks 数据和处理器
- 优化 auth API 模块
|
2025-12-12 20:22:22 +08:00 |
|
fawney19
|
fc0ca3944e
|
refactor(frontend): 优化用户视图页面
- 改进 Announcements, ModelCatalog, MyApiKeys 页面及其组件
|
2025-12-12 20:22:15 +08:00 |
|
fawney19
|
25a049d607
|
refactor(frontend): 优化共享视图页面
- 改进 Dashboard 和 Usage 页面
|
2025-12-12 20:22:15 +08:00 |
|
fawney19
|
15b4f665d1
|
refactor(frontend): 优化管理后台视图
- 改进 AliasManagement, ApiKeys, AuditLogs, CacheMonitoring, ModelManagement, SystemSettings, Users 页面
|
2025-12-12 20:22:15 +08:00 |
|
fawney19
|
36a84e19b4
|
refactor(frontend): 优化可组合函数
- 改进 useClipboard, useFormDialog, useTTLAnalysis composables
|
2025-12-12 20:22:09 +08:00 |
|
fawney19
|
1f7db361ad
|
refactor(frontend): 优化 Users 功能模块
- 改进 UserFormDialog 组件
|
2025-12-12 20:22:09 +08:00 |
|
fawney19
|
766a3280d6
|
refactor(frontend): 优化 Usage 功能模块可组合函数
- 改进 useUsageData 和 useUsageFilters composables
|
2025-12-12 20:22:08 +08:00 |
|
fawney19
|
4cbe0c38f7
|
refactor(frontend): 优化 Usage 功能模块组件
- 改进 HorizontalRequestTimeline, IntervalTimelineCard, RequestDetailDrawer 等组件
- 优化表格展示组件
|
2025-12-12 20:22:03 +08:00 |
|
fawney19
|
18ce6637b6
|
refactor(frontend): 优化 Providers 功能模块
- 改进 ProviderFormDialog, KeyFormDialog, EndpointFormDialog 等组件
- 优化 ModelsTab 组件
|
2025-12-12 20:22:03 +08:00 |
|
fawney19
|
0e1de65eb3
|
refactor(frontend): 优化 Models 功能模块
- 改进 ModelDetailDrawer 和 AliasDialog 组件
|
2025-12-12 20:22:03 +08:00 |
|
fawney19
|
b64d507c6e
|
refactor(frontend): 优化 API Keys 功能模块
- 改进 StandaloneKeyFormDialog 组件
|
2025-12-12 20:21:56 +08:00 |
|
fawney19
|
6e63116cc9
|
refactor(frontend): 优化统计组件
- 改进 ActivityHeatmap 组件
|
2025-12-12 20:21:56 +08:00 |
|
fawney19
|
9ac56662da
|
refactor(frontend): 优化图表组件
- 改进 BarChart, LineChart, ScatterChart 组件
- 优化响应式布局和类型定义
|
2025-12-12 20:21:55 +08:00 |
|
fawney19
|
624d81f453
|
refactor(frontend): 优化布局组件
- 改进 CardSection 和 Section 组件
- 优化布局结构和样式
|
2025-12-12 20:21:50 +08:00 |
|
fawney19
|
2423edec98
|
refactor(frontend): 优化公共组件
- 改进 EmptyState 和 LoadingState 组件
- 优化 CodeHighlight 样式和功能
|
2025-12-12 20:21:50 +08:00 |
|
fawney19
|
d8516e42ea
|
refactor(frontend): 优化 UI 基础组件
- 添加默认 class 属性支持
- 改进组件类型定义
- 优化属性配置
|
2025-12-12 20:21:50 +08:00 |
|
fawney19
|
a73e0d51db
|
fix: 修复链路追踪密钥显示和默认选中逻辑
1. 修复密钥脱敏显示问题:先解密再脱敏,避免显示加密后的 base64 数据
2. 优化详情默认选中逻辑:优先显示最后一个有效结果(成功/失败),而非未执行/跳过
|
2025-12-12 18:15:46 +08:00 |
|
fawney19
|
39ea9e8e86
|
refactor(frontend): 优化布局和视图页面
- 更新 MainLayout 布局组件
- 优化 admin 视图: 用户、模型、Provider、API Keys 等管理页面
- 改进 shared 视图: Dashboard、Usage 页面
- 调整 user 视图: ModelCatalog、MyApiKeys、Settings、Announcements 页面
- 更新 public 视图: Home、CliSection、LogoColorDemo 页面
|
2025-12-12 16:15:54 +08:00 |
|
fawney19
|
06c0a47b21
|
refactor(frontend): 优化功能模块组件
- 更新 api-keys 模块: StandaloneKeyFormDialog
- 改进 auth 模块: LoginDialog
- 优化 models 模块: AliasDialog, GlobalModelFormDialog, ModelDetailDrawer, TieredPricingEditor
- 重构 providers 模块: 多个表单和对话框组件
- 更新 usage 模块: 时间线、表格和详情组件
- 调整 users 模块: UserFormDialog
|
2025-12-12 16:15:36 +08:00 |
|
fawney19
|
e9a6233655
|
refactor(frontend): 优化公共组件和布局组件
- 更新 Logo 相关组件 (AetherLogo, HeaderLogo, RippleLogo 等)
- 优化图表组件 (BarChart, LineChart, ScatterChart)
- 改进公共组件 (AlertDialog, EmptyState, LoadingState)
- 调整布局组件 (AppShell, SidebarNav, PageHeader 等)
- 优化 ActivityHeatmap 统计组件
|
2025-12-12 16:15:16 +08:00 |
|
fawney19
|
44e7117d4a
|
refactor(frontend): 优化 UI 基础组件
- 更新 avatar-image, badge, checkbox, input, switch 等组件
- 优化 dialog, pagination, select-item, tabs 等组件
- 调整 table-card, refresh-button 组件
|
2025-12-12 16:15:07 +08:00 |
|
fawney19
|
e902595d58
|
refactor(frontend): 优化工具函数和 mock handler
- 更新 format.ts 工具函数
- 调整 mock handler 和 useDateRange composable
|
2025-12-12 16:14:49 +08:00 |
|
fawney19
|
738a8459c9
|
feat(frontend): 新增 API 错误类型定义,优化错误处理
- 新增 api-error.ts 定义标准错误类型和工具函数
- 重构 error.ts 和 errorParser.ts 使用新类型
- 更新 api client 的类型定义
|
2025-12-12 16:14:33 +08:00 |
|
fawney19
|
348b454e1e
|
refactor(frontend): 迁移 ESLint 到 flat config 格式
- 移除旧版 .eslintrc.cjs 和 .eslintignore
- 新增 eslint.config.js 使用 flat config 格式
- 更新相关依赖版本
|
2025-12-12 16:14:15 +08:00 |
|
fawney19
|
06bd178244
|
fix: TieredPricingEditor 缓存价格处理优化
- 缓存价格计算精度从 2 位小数改为 4 位,支持更精细的价格
- 分离 syncToParent 和 getFinalTiers 职责:
- syncToParent: 只同步用户实际输入的值
- getFinalTiers: 提交时获取包含自动计算的最终数据
- GlobalModelFormDialog 和 ProviderModelFormDialog 提交时调用 getFinalTiers
|
2025-12-12 15:43:00 +08:00 |
|
fawney19
|
53bf74429e
|
refactor: 重构流式处理模块,提取 StreamContext/Processor/Telemetry
- 将 chat_handler_base.py 中的流式处理逻辑拆分为三个独立模块:
- StreamContext: 类型安全的流式上下文数据类,替代原有的 ctx dict
- StreamProcessor: SSE 解析、预读、嵌套错误检测
- StreamTelemetryRecorder: 统计记录(Usage/Audit/Candidate)
- 将硬编码配置外置到 settings.py,支持环境变量覆盖:
- HTTP 超时配置(connect/write/pool)
- 流式处理配置(预读行数、统计延迟)
- 并发控制配置(槽位 TTL、缓存预留比例)
|
2025-12-12 15:42:45 +08:00 |
|
fawney19
|
39defce71c
|
fix: 修复统计聚合的时区问题,启动时自动回填缺失数据
- 统计聚合使用业务时区(APP_TIMEZONE)计算日期,而非UTC
- 新增 _get_business_day_range() 将业务日期转换为UTC时间范围
- 启动时检查并自动回填因容器重启等原因缺失的统计数据
- 修复 aggregate_daily_stats/update_summary/get_today_realtime_stats 等方法的时区计算
|
2025-12-12 10:06:07 +08:00 |
|
fawney19
|
5722b1422e
|
fix: 启动时自动回填缺失的统计数据
|
2025-12-12 09:48:17 +08:00 |
|
fawney19
|
93eeedfcfa
|
fix: 限制散点图图例显示数量,防止溢出
|
2025-12-11 21:36:39 +08:00 |
|
fawney19
|
0e8bf0a23b
|
feat: 请求间隔散点图按模型区分颜色
- 后端 get_interval_timeline 接口返回数据添加 model 字段
- 前端散点图按模型分组显示不同颜色的数据点
- 横线统计信息支持按模型分别显示统计数据
- 管理员视图保持按用户分组,用户视图按模型分组
- 更新 mock 数据支持模型字段
|
2025-12-11 21:33:39 +08:00 |
|
fawney19
|
2dce4102b0
|
fix: 添加 404.html 支持 SPA 路由刷新
|
2025-12-11 20:10:01 +08:00 |
|
fawney19
|
f1ae49d2f7
|
feat(mock): 添加缓存分析相关接口的 mock 数据
- interval-timeline: 请求间隔时间线散点图数据
- ttl-analysis: TTL 推荐分析数据
- hit-analysis: 缓存命中分析数据
|
2025-12-11 19:58:14 +08:00 |
|
fawney19
|
859c699e90
|
fix: 调整 interval-timeline 接口 limit 上限
- 管理员接口 limit 上限从 5000 调整为 50000
- 用户接口 limit 上限从 5000 调整为 20000
- 默认 hours 从 168 改为 24
|
2025-12-11 19:39:51 +08:00 |
|
fawney19
|
6e8107e340
|
fix: 修复管理员散点图只显示部分用户的问题
- 改为按比例采样,保持各用户数据量比例不变
- 散点图默认时间从7天改为当天(24小时)
- limit 从 2000 提高到 10000
|
2025-12-11 19:34:56 +08:00 |
|
fawney19
|
3b05f0b269
|
ci: 更新 Docker 镜像名称配置
|
2025-12-11 18:52:13 +08:00 |
|
fawney19
|
9142473640
|
refactor: 优化 Docker 构建流程,分离 CI/本地开发镜像配置
|
2025-12-11 18:31:53 +08:00 |
|
fawney19
|
4275e6ec6b
|
ci: 调整 Docker 构建工作流,移除 pull_request 触发器
|
2025-12-11 18:19:46 +08:00 |
|
fawney19
|
3b8a55adea
|
docs: 更新部署文档和配置,支持预构建镜像和本地构建两种方式
|
2025-12-11 18:16:19 +08:00 |
|
fawney19
|
7de1926fc8
|
chore: 更新前端依赖
|
2025-12-11 17:53:35 +08:00 |
|
fawney19
|
cc4e28ad16
|
feat: 添加使用量统计和数据分析功能
|
2025-12-11 17:52:32 +08:00 |
|
fawney19
|
9c850c4f84
|
feat: 实现缓存监控仪表板和散点图组件
|
2025-12-11 17:49:54 +08:00 |
|
fawney19
|
abc41c7d3c
|
feat: 添加缓存监控和使用量统计 API 端点
|
2025-12-11 17:47:59 +08:00 |
|
fawney19
|
22ea0e245d
|
refactor: 统一响应解析中的嵌套错误检测逻辑
- 提取 _check_nested_error 函数处理多种错误格式
- 支持检测顶层 error、type=error 以及 chunks 内嵌套的错误
- 简化 OpenAIResponseParser 和 ClaudeResponseParser 中的错误处理代码
- 提高代码复用性和可维护性
|
2025-12-11 11:33:07 +08:00 |
|
fawney19
|
8f914d89bb
|
fix: 增加写入超时时间支持大请求体
- 将 chat_handler_base 的写入超时从 10 秒增加到 60 秒
- 将 cli_handler_base 的写入超时从 10 秒增加到 60 秒
- 将 http_client 的写入超时从 10 秒增加到 60 秒
- 支持包含大量数据(如图片)的长对话请求
|
2025-12-11 11:21:46 +08:00 |
|