576 Commits

Author SHA1 Message Date
686b05d8fe bugfix 2026-05-24 20:44:31 +08:00
489ba1ad88 bugfix 2026-05-24 19:48:36 +08:00
9fa8f9fa62 feat(llmage): 日期变更触发备份(use_date<昨天) + llmusage添加(accounting_status,use_date)组合索引 2026-05-24 17:21:34 +08:00
8755ab5d6d fix(llmage): 修复备份SQL条件 use_date < today(非yesterday)+ 提高备份频率到每5分钟 2026-05-24 17:06:23 +08:00
96317c1512 feat(llmage): menu.ui 添加记账失败记录菜单项 2026-05-24 15:36:33 +08:00
93bbd529db fix(llmage): failed_accounting.ui 日期控件改为UiDate 2026-05-24 15:16:01 +08:00
1e335d35cb fix(llmage): 规范检查修复
- accounting.py: 删除重复datetime导入, 清理未使用env变量
- failed_accounting.ui: Button text→label(规范), DatePicker→TextInput(不确定的widget)
- index.ui: backgroundColor→bgcolor(规范), 3处修复
- llmusage_accounting_failed_update.dspy: 删除ServerEnv()违规(.dspy禁用), 用datetime替代
- 新增llmusage_history只读DSPY(create/update/delete返回只读提示)
2026-05-24 14:11:33 +08:00
07b4893252 feat(llmage): 添加llmusage历史记录备份和记账失败检索功能
- 新增 llmusage_history 表:定时备份已记账(use_date<today)的历史记录
- 新增 llmusage_accounting_failed 表:记录记账失败详情,支持检索
- 新增 backup_accounted_llmusage() 函数:备份+清理历史数据
- 新增 get_failed_accounting_records() 函数:按条件检索失败记录
- 更新 llm_accoung_failed():同时写入失败表记录
- 新增 failed_accounting.ui 页面和 failed_accounting_list.dspy API
- 新增 llmusage CRUD API (create/update/delete)
- 新增表索引优化查询性能
- 更新 setup_llmage_perms.sh 添加新端点权限
- 生成生产迁移SQL: scripts/migrate_llmusage_history.sql
2026-05-24 13:55:48 +08:00
e98d9fbce0 bugfix 2026-05-23 22:24:26 +08:00
80f1bae7c7 buggix 2026-05-23 22:22:40 +08:00
9636779d24 buggix 2026-05-23 22:21:58 +08:00
f370277438 buggix 2026-05-23 22:10:17 +08:00
f361200d5c buggix 2026-05-23 22:08:26 +08:00
ac4dea86dd buggix 2026-05-23 21:58:45 +08:00
aca610dd87 bugfix 2026-05-23 21:54:17 +08:00
e587f31c5e bugfix 2026-05-23 21:51:41 +08:00
8c070c692a bugfix 2026-05-23 21:48:46 +08:00
8ca04ba691 bugfix 2026-05-23 21:44:53 +08:00
7cc0d64291 buggix 2026-05-23 20:02:01 +08:00
5994409657 buggix 2026-05-23 19:27:52 +08:00
b3060eee9d buggix 2026-05-23 19:26:52 +08:00
7b7d859be1 bugfix 2026-05-23 18:33:10 +08:00
e37073b713 buggix 2026-05-23 17:22:26 +08:00
4ee67aa022 buggix 2026-05-23 17:21:52 +08:00
0a9ebf48cf buggix 2026-05-23 17:20:26 +08:00
b4d01099ac buggix 2026-05-22 18:18:21 +08:00
408f8acadc buggix 2026-05-22 17:58:34 +08:00
dfe961e4c9 buggix 2026-05-22 17:55:32 +08:00
0723395119 buggix 2026-05-22 17:53:24 +08:00
bcff4e1169 bugfix 2026-05-22 17:51:02 +08:00
7f681e30b9 buggix 2026-05-22 17:38:06 +08:00
d2b97bccdc buggix 2026-05-22 17:35:00 +08:00
2b0283fbae buggix 2026-05-22 17:33:01 +08:00
ef4d854424 buggix 2026-05-22 16:53:10 +08:00
410ab1d2e4 buggix 2026-05-22 15:47:00 +08:00
4807508348 buggix 2026-05-22 14:44:12 +08:00
711e4fa6f9 buggix 2026-05-22 14:43:17 +08:00
90a036e6a9 buggix 2026-05-22 14:39:08 +08:00
7523e67214 buggix 2026-05-22 14:28:51 +08:00
2f29674ec0 buggix 2026-05-22 14:27:47 +08:00
5d836a4504 buggix 2026-05-22 13:38:54 +08:00
90a8d83096 buggix 2026-05-22 13:36:30 +08:00
15a5e1d362 buggix 2026-05-22 13:34:24 +08:00
2ab106648f buggix 2026-05-22 13:12:30 +08:00
7cd93a7999 buggix 2026-05-22 13:06:02 +08:00
27a846c3c9 buggix 2026-05-22 13:01:43 +08:00
6a430112f4 buggix 2026-05-22 12:58:03 +08:00
522425051d buggix 2026-05-22 12:06:51 +08:00
fa5dd78cca buggix 2026-05-22 12:02:14 +08:00
1dd071e310 buggix 2026-05-22 11:51:35 +08:00