10 Commits

Author SHA1 Message Date
Hermes Agent
71ccf230e9 fix: 按钮使用id属性替代name,确保binds能正确绑定事件 2026-06-18 16:35:44 +08:00
Hermes Agent
2efb1268b7 refactor: 模型上线检查UI改为VScrollPanel+HBox按钮布局
- UI: 检查结果区域改为VScrollPanel(filler),两个按钮用HBox并排
- check_pricing_program.dspy: 优先显示display_text字段,回退到name字段
2026-06-18 16:26:51 +08:00
Hermes Agent
cef9e0bc52 fix: 修正check_*.dspy路径为绝对路径,修复按钮API路径 2026-06-16 16:47:37 +08:00
Hermes Agent
039814b281 fix: 修正check_*.dspy路径为../,修复usages参数JSON编码 2026-06-16 16:41:22 +08:00
Hermes Agent
ea2f08e443 fix: 上线检查改为urlwidget子控件模式,每个检查项独立dspy(bug3) 2026-06-16 16:25:26 +08:00
Hermes Agent
b53eb61fbf fix: 修复记账失败记录查询无响应(bug4/5)+模型上线检查无响应(bug3) 2026-06-16 10:45:27 +08:00
e29cdadf18 bugfix 2026-06-09 14:01:08 +08:00
892f0c5002 bugfix 2026-06-09 13:36:07 +08:00
faba862336 feat: add check_charging action to test pricing calculation with usage data
- llm_launch_check_api.dspy: add check_charging action
  * Takes usages JSON from inference result
  * Calls env.buffered_charging(ppid, usages) to verify pricing works
  * Returns pricing breakdown with amounts and costs
- llm_launch_check.ui: add '检查计费' button
  * Appears after successful inference
  * Passes usage data to check_charging API
  * Displays pricing calculation results
- llm_launch_check_api.dspy: simplify inference action
  * Direct uapi.call() instead of full inference pipeline
  * Extracts usage from response without writing to database
2026-06-04 18:29:37 +08:00
3a0a8d4c86 feat: 添加模型上线检查功能
- 新增 llm_launch_check_api.dspy:执行完整的上线前检查
  * 检查模型记录、日期、状态
  * 检查上位系统(upapp)关联
  * 检查API映射(uapi)
  * 检查IO定义(uapiio)
  * 检查能力映射(llm_api_map)
  * 检查定价项目(pricing_program)
  * 检查定价数据(pricingdata)
  * 支持体验测试(action=inference)
- 新增 llm_launch_check.ui:检查结果展示界面
- 修改 llm.json:将'体验'按钮改为'上线检查'
- 更新 load_path.py:注册新路径
2026-06-04 18:11:12 +08:00