This website requires JavaScript.
354e2aabf7
fix: add missing cache_get import at module level
main
yumoqing
2026-07-29 18:01:17 +08:00
022ceacc7f
fix: remove await from sync hot_reload handler
yumoqing
2026-07-29 17:30:41 +08:00
3483d16c58
refactor: migrate pricing_data to share_cache Redis
yumoqing
2026-07-29 17:16:25 +08:00
e3909fef53
fix: get_pricing_display移除第一行标题,让定价项自然上提
yumoqing
2026-07-20 19:46:55 +08:00
270f95d2cf
fix: kimi cached_tokens 在 usage 根级别,修正 derived 表达式
yumoqing
2026-07-17 17:28:00 +08:00
f734ed8240
feat: kimi-k3 模型定价 SQL(缓存命中¥2/未命中¥20/输出¥100 每百万token)
yumoqing
2026-07-17 17:09:54 +08:00
246347ecbf
fix: 注册 get_search_providerid.dspy 到 RBAC,修复定价项目供应商下拉无选项
yumoqing
2026-07-15 15:42:38 +08:00
cea95f98ec
fix: add_pricing_program_timing 补充 sor.C() 插入新记录
yumoqing
2026-07-14 17:58:43 +08:00
25457aff6d
fix: add_pricing_program_timing.dspy 补充 sor 上下文创建
yumoqing
2026-07-14 17:45:09 +08:00
722de7ea8c
fix: pricing init.py 补充 add_pricing_program_timing 的 import 和注册
yumoqing
2026-07-14 17:42:20 +08:00
cdcda374b2
fix: model codes table supplychain.suppliers -> suppliers to avoid get_code.dspy SQL error
yumoqing
2026-07-10 10:55:01 +08:00
f775d5a751
fix: use get_sor_context(rbac) to query suppliers in sage db
yumoqing
2026-07-10 09:26:22 +08:00
3e7d0aada5
fix: providerid 下拉从 suppliers 表获取(新增 get_search_providerid.dspy + CRUD alters)
yumoqing
2026-07-10 09:21:36 +08:00
3c7081591b
refactor: providerid codes → supplychain.suppliers
yumoqing
2026-07-09 13:39:09 +08:00
d0e92e4b9b
fix: replace hardcoded '元' in unit_label with correct currency symbol
yumoqing
2026-07-08 15:40:56 +08:00
6f0b501a95
fix: show currency in pricing display — query currency from pricing_program
yumoqing
2026-07-08 15:35:29 +08:00
9e4d1f85e8
fix: pricing_program search — remove logined_userorgid filter + providerid LIKE
yumoqing
2026-07-08 14:20:35 +08:00
a33837d33f
revert: 移除between自动检测,改为在定价数据fields中添加prompt_tokens/completion_tokens定义
yumoqing
2026-07-07 16:12:49 +08:00
485ecf343e
fix: 移除inline DictObject import避免local variable错误
yumoqing
2026-07-07 15:58:27 +08:00
2b8f057096
fix: fields未定义时自动检测between操作符,避免范围检查被跳过
yumoqing
2026-07-07 15:54:07 +08:00
343a346aaf
feat: pricing_program add currency field (provider settlement currency)
yumoqing
2026-07-07 15:43:02 +08:00
ea3d67c496
fix: filters dict格式两处都兼容,避免第二处iter string报错
yumoqing
2026-07-07 15:17:25 +08:00
7029f858f9
fix: filters兼容dict格式(非list),避免iter string时.get()报AttributeError
yumoqing
2026-07-07 15:07:50 +08:00
a7d88309b8
fix: model过滤支持model_mappings映射,含mappings的单模型ppid也能正确过滤
yumoqing
2026-07-06 18:06:02 +08:00
d7d02ccb6b
fix: model过滤后为空时退回到不过滤,避免单模型ppid定价变空
yumoqing
2026-07-06 17:50:31 +08:00
2fcd33cdba
feat: get_pricing_display supports optional model filter
yumoqing
2026-07-06 15:03:06 +08:00
64a93049f0
fix: load_path.py补全pricing_program_list+新API路径; 简化脚本
yumoqing
2026-07-05 14:06:34 +08:00
7d41fd2aba
docs: 更新pricing_spec文档注释为pricing_data
yumoqing
2026-07-05 13:52:54 +08:00
ecb4c770c4
feat: 删除pricing_spec/discount字段; 新增timing拉链逻辑(expired_date自动管理)
yumoqing
2026-07-05 13:51:43 +08:00
5138ec338d
fix: 恢复CRUD默认路径,移除不存在的自定义API端点
yumoqing
2026-07-03 16:13:22 +08:00
00b901ebfa
bugfix
yumoqing
2026-06-26 14:29:46 +08:00
568d697dd4
bugfix
yumoqing
2026-06-26 14:28:11 +08:00
eeaebac588
fix: pricing_program_timing.json+editable配置修复build.sh错误
yumoqing
2026-06-26 11:05:44 +08:00
d246d2a5ac
feat: add pricing_data view tool to pricing_program_timing list
yumoqing
2026-06-26 10:56:41 +08:00
1610c0635f
fix: 上传定价数据窗口标题改为定价名称
yumoqing
2026-06-25 13:54:01 +08:00
1ae6bcba35
revert: pricing_test.ui 恢复到修改前状态(验证定价功能不需要)
yumoqing
2026-06-25 13:48:14 +08:00
b7650b79a7
fix: pricing_test.ui field name 缺闭合引号
yumoqing
2026-06-25 13:42:28 +08:00
6070116d38
fix: pricing_test.ui Jinja2 None→none
yumoqing
2026-06-25 13:38:11 +08:00
7a8f46e10b
fix: 上传定价数据和验证定价弹窗取消按钮关闭窗口(dismiss_events)
yumoqing
2026-06-25 13:31:05 +08:00
ea7db0d51c
fix: json添加editable字段修复build.sh报错
Hermes Agent
2026-06-24 17:47:07 +08:00
b84f8e406b
fix: test_pricing 直接从DB获取原始YAML避免DictObject序列化失败
Hermes Agent
2026-06-24 08:53:23 +08:00
810cd4549b
fix: 修复定价项目时序验证定价500错误 + 移除过时的pricing_item子表引用
Hermes Agent
2026-06-23 23:59:13 +08:00
30766b6c88
Revert "fix: skip_keys添加value_mode,防止定价项顶层value_mode被误当字段检查导致匹配失败"
Hermes Agent
2026-06-23 17:04:13 +08:00
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"
Hermes Agent
2026-06-23 17:04:13 +08:00
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"
Hermes Agent
2026-06-23 17:04:13 +08:00
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
Hermes Agent
2026-06-23 16:16:37 +08:00
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
Hermes Agent
2026-06-23 16:06:00 +08:00
3a9e30313b
fix: skip_keys添加value_mode,防止定价项顶层value_mode被误当字段检查导致匹配失败
Hermes Agent
2026-06-23 15:45:36 +08:00
e4bbef8e17
feat: register get_ppid_pricing on env for pre-inference pricing check
Hermes Agent
2026-06-22 17:55:27 +08:00
0f562ec834
移除__pycache__,补充.gitignore
Hermes Agent
2026-06-22 14:59:31 +08:00
6bb7af3535
data_filter改为filterjson逻辑表达式格式
Hermes Agent
2026-06-22 14:43:34 +08:00
65e7af4c84
data_filter改为search_fields
Hermes Agent
2026-06-22 14:10:15 +08:00
d28d1b6173
name字段搜索使用LIKE模糊匹配
Hermes Agent
2026-06-22 13:53:31 +08:00
7f5dc485cb
chore: remove generated CRUD files from git tracking
Hermes Agent
2026-06-22 12:22:23 +08:00
f148e0c1f9
regenerate CRUD with app. prefix target
Hermes Agent
2026-06-22 12:16:56 +08:00
3863bdcbcc
regenerate CRUD with prepend_all for search code fields
Hermes Agent
2026-06-22 12:11:53 +08:00
a2d0fc9798
regenerate CRUD with script bind for search form
Hermes Agent
2026-06-22 12:09:26 +08:00
daf72d297d
regenerate CRUD with enriched code field support in data_filter
Hermes Agent
2026-06-22 11:56:16 +08:00
c7b364926d
feat: add i18n translations (zh/en/jp/ko) for all modules
Hermes Agent
2026-06-19 15:01:35 +08:00
38f0c10dfe
Revert "fix: root VBox height:100% instead of cheight:40"
Hermes Agent
2026-06-19 14:26:29 +08:00
d89961c1e4
fix: root VBox height:100% instead of cheight:40
Hermes Agent
2026-06-19 14:25:09 +08:00
851ea8b51b
feat: add data_filter for name and providerid
Hermes Agent
2026-06-19 14:17:32 +08:00
9a0f82b28d
fix: remove providerid alters from CRUD JSON, let model codes handle it
Hermes Agent
2026-06-19 14:02:09 +08:00
74d9848674
fix: add uitype:code to providerid alters for orgname display
Hermes Agent
2026-06-19 08:46:39 +08:00
a6150a4309
feat: add =~= (closed-closed interval) support in check_value for between ranges
Hermes Agent
2026-06-18 23:22:14 +08:00
7d8fae01ca
fix: check_value支持filter_item级别的value_mode
Hermes Agent
2026-06-18 17:49:28 +08:00
0d841f078e
feat: pricing_program discount field validation [0-1]
Hermes Agent
2026-06-18 17:36:40 +08:00
9241edfb6c
fix: test_pricing使用urlwidget加载控件JSON
Hermes Agent
2026-06-18 16:18:28 +08:00
edee247a11
fix: test_pricing结果直接返回完整控件JSON
Hermes Agent
2026-06-18 16:13:52 +08:00
d22dbc57ae
fix: test_pricing结果用subwidgets控件数组渲染
Hermes Agent
2026-06-18 16:08:59 +08:00
bcdb1e02cd
feat: 定价测试窗口添加标题'定价测试'
Hermes Agent
2026-06-18 16:06:16 +08:00
972400e382
feat: test_pricing_program结果每条记录单独显示
Hermes Agent
2026-06-18 16:03:43 +08:00
759cd14a56
fix: filters数组改为AND逻辑,缺键视为匹配
Hermes Agent
2026-06-18 15:26:04 +08:00
616c3a1926
fix: 供应商折扣负数校验,clamp到0~1范围(bug6)
Hermes Agent
2026-06-16 10:45:29 +08:00
c5eb5b9399
fix: get_pricing_display 异常保护,返回None
yumoqing
2026-06-12 15:32:27 +08:00
c875a8dc2b
fix: test_pricing 传入已解析的 dict 导致 yaml.safe_load 报错
yumoqing
2026-06-12 15:12:44 +08:00
7df8e530a4
remove: pricing_item CRUD and related functions (not used)
yumoqing
2026-06-12 14:41:58 +08:00
ac3d7c6d91
fix: implement missing get_all_spec_fields_by_pptid, sor_get_spec_fields, get_pricing_specs_by_pptid
yumoqing
2026-06-12 14:18:52 +08:00
00abc0caa4
bugfix
yumoqing
2026-06-12 14:04:57 +08:00
c8b5bba342
bugfix
yumoqing
2026-06-12 13:55:10 +08:00
8d1808fe96
bgufix
yumoqing
2026-06-12 13:49:27 +08:00
9094e07465
bgufix
yumoqing
2026-06-12 13:47:09 +08:00
22a3a96833
bgufix
yumoqing
2026-06-12 13:03:55 +08:00
fffcd03c87
fix: remove nonexistent ownerid filter from pricing_program_timing CRUD
yumoqing
2026-06-11 16:30:57 +08:00
c2a7dbb98f
docs: 添加HTTP API文档和pricing_data使用指南
yumoqing
2026-06-05 19:18:46 +08:00
c1bfaca049
fix: 支持filters列表格式 + display_text展示过滤条件
yumoqing
2026-06-05 19:07:11 +08:00
502468e0cb
fix: model filter提升为item级适用条件
yumoqing
2026-06-05 18:53:33 +08:00
3ad50beda8
refactor: 清理冗余空字段
yumoqing
2026-06-05 18:49:51 +08:00
66b4744def
fix: tiered只展示价格不同的条目,过滤冗余
yumoqing
2026-06-05 18:47:50 +08:00
38ff69ca55
refactor: 精简pricing_display, tiered只保留有意义filter
yumoqing
2026-06-05 18:34:27 +08:00
3eefe1a67f
fix: pricing_display 不乘unit_val + 添加可读display_text字段
yumoqing
2026-06-05 18:26:30 +08:00
2706815dee
fix: use DictObject for config_data to support dot notation in derived fields
yumoqing
2026-06-05 16:07:35 +08:00
022bab8314
feat: add derived field support for nested usage data
yumoqing
2026-06-05 15:04:47 +08:00
df1fa2cfe0
fix: 百万单位定价展示乘以单位值 + 生产混合格式走formula路径
yumoqing
2026-06-05 14:33:36 +08:00
e2d46f4074
fix: add fallback unit_values in get_pricing_display
yumoqing
2026-06-05 14:32:27 +08:00
da07250049
feat: update unit_values and get_pricing_display for new format
yumoqing
2026-06-05 14:06:58 +08:00
7200454c46
feat: support new pricing format (price_factors + unit_prices)
yumoqing
2026-06-05 14:00:24 +08:00
392f281758
fix: replace wildcard patterns with explicit per-file entries in load_path.py
yumoqing
2026-06-04 13:03:24 +08:00
977be0d39c
feat: add pricing display API for customer-facing pricing data
yumoqing
2026-06-04 12:13:55 +08:00
5d4e008ec8
fix: guard hot_reload binding with None check
yumoqing
2026-06-02 17:36:38 +08:00