246347ecbf
fix: 注册 get_search_providerid.dspy 到 RBAC,修复定价项目供应商下拉无选项
2026-07-15 15:42:38 +08:00
64a93049f0
fix: load_path.py补全pricing_program_list+新API路径; 简化脚本
2026-07-05 14:06:34 +08:00
d246d2a5ac
feat: add pricing_data view tool to pricing_program_timing list
...
- Hide pricing_data (YAML text) from list columns
- Add '定价数据' tool button to toolbar
- Open PopupWindow showing pricing_data content via pricing_data_display.ui
- Register new path in load_path.py
2026-06-26 10:56:41 +08:00
Hermes Agent
0f562ec834
移除__pycache__,补充.gitignore
2026-06-22 14:59:31 +08:00
7df8e530a4
remove: pricing_item CRUD and related functions (not used)
2026-06-12 14:41:58 +08:00
7200454c46
feat: support new pricing format (price_factors + unit_prices)
...
- get_pricing_from_ymalstr: 支持新格式和旧公式格式
* 新格式: price_factors + unit_prices + unit 自动计算
* 旧格式: formula eval 计算(向后兼容)
* filters: 支持区间定价,多个区间只要匹配一个即可
* min_amount: 支持最低消费
* flat: 支持固定费用
- convert_pricing_to_new_design.py: 转换脚本
* 自动转换 35 条定价记录
* 无需人工审核
测试通过:
- 多因子计费 (prompt_tokens + completion_tokens)
- 按时长计费 (duration)
- 固定费用 (flat)
- 最低消费 (min_amount)
- 区间定价 (filters)
- 旧公式兼容
2026-06-05 14:00:24 +08:00
392f281758
fix: replace wildcard patterns with explicit per-file entries in load_path.py
2026-06-04 13:03:24 +08:00
fc1f8bb182
fix: wrap Tabular in VBox with cheight for proper scrolling
2026-05-29 22:09:53 +08:00
c041c76c9f
refactor: use wildcard % in load_path.py for auto-coverage
2026-05-29 00:52:20 +08:00
6379c1a0e3
feat: add load_path.py RBAC permission registration script
2026-05-27 13:16:09 +08:00