9e4d1f85e8
fix: pricing_program search — remove logined_userorgid filter + providerid LIKE
2026-07-08 14:20:35 +08:00
a33837d33f
revert: 移除between自动检测,改为在定价数据fields中添加prompt_tokens/completion_tokens定义
2026-07-07 16:12:49 +08:00
485ecf343e
fix: 移除inline DictObject import避免local variable错误
2026-07-07 15:58:27 +08:00
2b8f057096
fix: fields未定义时自动检测between操作符,避免范围检查被跳过
2026-07-07 15:54:07 +08:00
343a346aaf
feat: pricing_program add currency field (provider settlement currency)
2026-07-07 15:43:02 +08:00
ea3d67c496
fix: filters dict格式两处都兼容,避免第二处iter string报错
2026-07-07 15:17:25 +08:00
7029f858f9
fix: filters兼容dict格式(非list),避免iter string时.get()报AttributeError
2026-07-07 15:07:50 +08:00
a7d88309b8
fix: model过滤支持model_mappings映射,含mappings的单模型ppid也能正确过滤
2026-07-06 18:06:02 +08:00
d7d02ccb6b
fix: model过滤后为空时退回到不过滤,避免单模型ppid定价变空
2026-07-06 17:50:31 +08:00
2fcd33cdba
feat: get_pricing_display supports optional model filter
...
- Add model parameter to filter displayed pricing items to a single model
- DSPY endpoint accepts ?model=xxx param
- Backward compatible: omitting model returns all items
2026-07-06 15:03:06 +08:00
64a93049f0
fix: load_path.py补全pricing_program_list+新API路径; 简化脚本
2026-07-05 14:06:34 +08:00
7d41fd2aba
docs: 更新pricing_spec文档注释为pricing_data
2026-07-05 13:52:54 +08:00
ecb4c770c4
feat: 删除pricing_spec/discount字段; 新增timing拉链逻辑(expired_date自动管理)
2026-07-05 13:51:43 +08:00
5138ec338d
fix: 恢复CRUD默认路径,移除不存在的自定义API端点
2026-07-03 16:13:22 +08:00
00b901ebfa
bugfix
2026-06-26 14:29:46 +08:00
568d697dd4
bugfix
2026-06-26 14:28:11 +08:00
eeaebac588
fix: pricing_program_timing.json+editable配置修复build.sh错误
2026-06-26 11:05:44 +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
1610c0635f
fix: 上传定价数据窗口标题改为定价名称
2026-06-25 13:54:01 +08:00
1ae6bcba35
revert: pricing_test.ui 恢复到修改前状态(验证定价功能不需要)
2026-06-25 13:48:14 +08:00
b7650b79a7
fix: pricing_test.ui field name 缺闭合引号
2026-06-25 13:42:28 +08:00
6070116d38
fix: pricing_test.ui Jinja2 None→none
2026-06-25 13:38:11 +08:00
7a8f46e10b
fix: 上传定价数据和验证定价弹窗取消按钮关闭窗口(dismiss_events)
2026-06-25 13:31:05 +08:00
Hermes Agent
ea7db0d51c
fix: json添加editable字段修复build.sh报错
2026-06-24 17:47:07 +08:00
Hermes Agent
b84f8e406b
fix: test_pricing 直接从DB获取原始YAML避免DictObject序列化失败
2026-06-24 08:53:23 +08:00
Hermes Agent
810cd4549b
fix: 修复定价项目时序验证定价500错误 + 移除过时的pricing_item子表引用
...
- init.py: 注册 get_pricing_program_timeing 到 env(pricing_test.ui模板依赖此函数)
- pricing_test.ui: 修复拼写错误 amoumt → "amount"(生成无效JSON导致500)
- json/pricing_program_timing.json: 移除指向已删除的pricing_item CRUD的subtables配置
2026-06-23 23:59:13 +08:00
Hermes Agent
30766b6c88
Revert "fix: skip_keys添加value_mode,防止定价项顶层value_mode被误当字段检查导致匹配失败"
...
This reverts commit 3a9e30313b41adf8f23a04bd7b1a0fe82256c2e4.
2026-06-23 17:04:13 +08:00
Hermes Agent
b2521678ad
Revert "fix: non-field keys in pricing items skip instead of raise - aligns top-level loop (line 618) with filters loop (line 653) behavior - value_mode and other control params at filter level no longer cause 'fields中没有定义' error"
...
This reverts commit 6df2569c8ed9615c488d565fffa30883e819dce6.
2026-06-23 17:04:13 +08:00
Hermes Agent
03a0bea51f
Revert "fix: value_mode read from field definition, not filter_item - removed item_value_mode from filters loops (2 places) - check_value(f, fv, dv) now falls back to f.value_mode per field - fixes: filter-level value_mode:between was applied to ALL fields including model (string), causing between parse error on model name"
...
This reverts commit 1e65451da4e97d77dc072113e2d1aab06fda80c0.
2026-06-23 17:04:13 +08:00
Hermes Agent
1e65451da4
fix: value_mode read from field definition, not filter_item - removed item_value_mode from filters loops (2 places) - check_value(f, fv, dv) now falls back to f.value_mode per field - fixes: filter-level value_mode:between was applied to ALL fields including model (string), causing between parse error on model name
2026-06-23 16:16:37 +08:00
Hermes Agent
6df2569c8e
fix: non-field keys in pricing items skip instead of raise - aligns top-level loop (line 618) with filters loop (line 653) behavior - value_mode and other control params at filter level no longer cause 'fields中没有定义' error
2026-06-23 16:06:00 +08:00
Hermes Agent
3a9e30313b
fix: skip_keys添加value_mode,防止定价项顶层value_mode被误当字段检查导致匹配失败
2026-06-23 15:45:36 +08:00
Hermes Agent
e4bbef8e17
feat: register get_ppid_pricing on env for pre-inference pricing check
2026-06-22 17:55:27 +08:00
Hermes Agent
0f562ec834
移除__pycache__,补充.gitignore
2026-06-22 14:59:31 +08:00
Hermes Agent
6bb7af3535
data_filter改为filterjson逻辑表达式格式
2026-06-22 14:43:34 +08:00
Hermes Agent
65e7af4c84
data_filter改为search_fields
2026-06-22 14:10:15 +08:00
Hermes Agent
d28d1b6173
name字段搜索使用LIKE模糊匹配
2026-06-22 13:53:31 +08:00
Hermes Agent
7f5dc485cb
chore: remove generated CRUD files from git tracking
...
Generated files (wwwroot/pricing_program/, wwwroot/pricing_program_timing/)
should not be in version control. They are regenerated by build.sh on deployment.
Added to .gitignore.
2026-06-22 12:22:23 +08:00
Hermes Agent
f148e0c1f9
regenerate CRUD with app. prefix target
2026-06-22 12:16:56 +08:00
Hermes Agent
3863bdcbcc
regenerate CRUD with prepend_all for search code fields
2026-06-22 12:11:53 +08:00
Hermes Agent
a2d0fc9798
regenerate CRUD with script bind for search form
2026-06-22 12:09:26 +08:00
Hermes Agent
daf72d297d
regenerate CRUD with enriched code field support in data_filter
2026-06-22 11:56:16 +08:00
Hermes Agent
c7b364926d
feat: add i18n translations (zh/en/jp/ko) for all modules
2026-06-19 15:01:35 +08:00
Hermes Agent
38f0c10dfe
Revert "fix: root VBox height:100% instead of cheight:40"
...
This reverts commit d89961c1e49598cbc833ddf86e8927cae041b74b.
2026-06-19 14:26:29 +08:00
Hermes Agent
d89961c1e4
fix: root VBox height:100% instead of cheight:40
2026-06-19 14:25:09 +08:00
Hermes Agent
851ea8b51b
feat: add data_filter for name and providerid
2026-06-19 14:17:32 +08:00
Hermes Agent
9a0f82b28d
fix: remove providerid alters from CRUD JSON, let model codes handle it
2026-06-19 14:02:09 +08:00
Hermes Agent
74d9848674
fix: add uitype:code to providerid alters for orgname display
2026-06-19 08:46:39 +08:00
Hermes Agent
a6150a4309
feat: add =~= (closed-closed interval) support in check_value for between ranges
2026-06-18 23:22:14 +08:00
Hermes Agent
7d8fae01ca
fix: check_value支持filter_item级别的value_mode
...
- check_value增加value_mode参数,优先用传入值,回退到field.value_mode
- filter_item遍历时跳过value_mode key
- 提取filter_item.get('value_mode')传给check_value
- 修复between类型filter报invalid literal for int()错误
2026-06-18 17:49:28 +08:00