fengsilin
|
49ca8a6ae7
|
fix(kling): 修复原生路由和展示价格保存
- 避免仅编辑展示价格时写入默认真实计费规则
- 将 video-extend 纳入 KlingAiping 原生渠道约束
- 补充相关保存决策、渠道约束和计费展示测试
Co-Authored-By: Codex <noreply@anthropic.com>
|
4 päivää sitten |
fengsilin
|
56400b6c61
|
feat: KlingAiping 渠道适配 + 展示价格管理后台
- 新增 KlingAiping 渠道 (ChannelTypeKlingAiping = 59)
- 新增 KlingAiping 原生路由 (text2video/image2video/omni-video 等)
- 新增 KlingAiping adaptor (relay/channel/task/kling/aiping/)
- 前端模型定价页面新增「真实计费 / 展示价格」Tab 切换
- 新增 DisplayPricing 组件,支持模型展示价格的增删改
- 新增 displayPricingConfig 工具函数及测试
- 修复 KlingAiping 路由路径匹配与 task 错误响应
Co-Authored-By: Claude <noreply@anthropic.com>
|
1 viikko sitten |
fengsilin
|
a61ca078fc
|
fix: localize display pricing units
|
1 viikko sitten |
fengsilin
|
fee9504107
|
feat: render display pricing on pricing page
|
1 viikko sitten |
fengsilin
|
cc97834e5b
|
feat: add display pricing frontend helpers
|
1 viikko sitten |
fengsilin
|
ced4d7f323
|
feat: expose model display pricing
|
1 viikko sitten |
fengsilin
|
de117ac932
|
feat: add model display pricing admin api
|
1 viikko sitten |
fengsilin
|
18a3495968
|
feat: add model display pricing settings
|
1 viikko sitten |
fengsilin
|
302987989b
|
docs: expand display pricing frontend spec
|
1 viikko sitten |
fengsilin
|
6dd8c19ea8
|
docs: clarify model display pricing design
|
1 viikko sitten |
fengsilin
|
6dd9bc6dec
|
docs: add model display pricing design
|
1 viikko sitten |
fengsilin
|
c9988af52b
|
feat: 用户创建同步到从节点及 i18n 翻译
新建用户时异步同步到海外 slave 节点,确保跨区域用户数据一致。
补充前两个 commit 全部新功能的中英文翻译字符串。
Co-Authored-By: Claude <noreply@anthropic.com>
|
2 viikkoa sitten |
fengsilin
|
84d364d76a
|
feat: 使用日志计费详情展开与 completion_tokens 修复
前端新增 UsageLogExpandedDetail 点击展开面板和 BillingDetailSummary
hover 计费详情,后端修复 per_1m_tokens 任务结算日志的 completion_tokens
从零值改为写入 total_tokens 实际值。新增 taskBillingLogMerge 合并
任务预扣/结算日志。
Co-Authored-By: Claude <noreply@anthropic.com>
|
2 viikkoa sitten |
fengsilin
|
2e40bab478
|
feat: 模型定价矩阵价格取中位数展示
前端模型定价配置 UI 增强(Editor/GeneratorModal/PreviewPanel/PricingGrid),
后端新增 representativeMatrixPrice 取矩阵定价表中位数作为展示价格,
替代原来的 model_price=0 导致的价格展示为空问题。
Co-Authored-By: Claude <noreply@anthropic.com>
|
2 viikkoa sitten |
fengsilin
|
ec7c76f221
|
merge: feat/video-pricing-table-codex into master
- feat: video multidimensional matrix pricing system
- feat: doubao aiping video channel support
- feat: relay capture JSON storage with header redaction
- feat: SSE stream error handling (Gemini/OpenAI/Responses)
- test: E2E test infrastructure (Playwright + Chromium)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2 viikkoa sitten |
fengsilin
|
0e3b98efe0
|
chore: commit relay SSE error handling fixes and E2E mock server
- relay: SSE stream error exposure improvements (Claude/Gemini/OpenAI)
- test: add mock capture server for E2E relay capture testing
Co-Authored-By: Claude <noreply@anthropic.com>
|
2 viikkoa sitten |
fengsilin
|
139b6a6075
|
feat: store relay capture records as json
|
2 viikkoa sitten |
fengsilin
|
65551e8003
|
refactor: prepare relay capture json helpers
|
2 viikkoa sitten |
fengsilin
|
19d55dc255
|
docs: design relay capture json storage
|
2 viikkoa sitten |
fengsilin
|
1d01c4cd64
|
feat: 增强流式响应错误处理,SSE内嵌错误正确曝光为API错误
- Gemini stream: 捕获 promptFeedback.blockReason 后停止流并返回 OpenAPI 错误
- OpenAI stream: 检测 SSE 帧中的 error 响应,在首帧写入前转换为 API 错误
- Responses stream: 处理 response.error / response.failed / error 类型帧
- 新增 ClearEventStreamHeadersIfNotWritten 工具方法,错误转换时清除流式头
- 新增 streamOpenAIErrorFromData,从 SSE data 帧提取 OpenAPI 错误结构
- 上游错误体会截断后存入 UpstreamBody 供排障
Co-Authored-By: Claude <noreply@anthropic.com>
|
2 viikkoa sitten |
fengsilin
|
696c549a66
|
feat(video): add doubao aiping video pricing support
Co-Authored-By: Codex <noreply@anthropic.com>
|
2 viikkoa sitten |
fengsilin
|
99168a9660
|
test: stabilize model pricing e2e runtime
|
3 viikkoa sitten |
fengsilin
|
aeff58b122
|
test: stabilize model pricing generator e2e
|
3 viikkoa sitten |
fengsilin
|
5451d801f3
|
test: cover model pricing e2e workflow
|
3 viikkoa sitten |
fengsilin
|
a4b824952f
|
test: make model pricing tab selector clickable
|
3 viikkoa sitten |
fengsilin
|
32014dde92
|
test: add model pricing e2e selectors
|
3 viikkoa sitten |
fengsilin
|
eaae02e767
|
test: ignore e2e artifacts
Co-Authored-By: Codex <noreply@anthropic.com>
|
3 viikkoa sitten |
fengsilin
|
75285bcabd
|
test: align playwright runtime with chromium
Co-Authored-By: Codex <noreply@anthropic.com>
|
3 viikkoa sitten |
fengsilin
|
b976b486af
|
test: avoid shell by default in e2e process helper
Co-Authored-By: Codex <noreply@anthropic.com>
|
3 viikkoa sitten |
fengsilin
|
568a91dfcf
|
test: harden e2e helper error handling
Co-Authored-By: Codex <noreply@anthropic.com>
|
3 viikkoa sitten |
fengsilin
|
eb285055ac
|
test: harden e2e process cleanup
|
3 viikkoa sitten |
fengsilin
|
32603ba385
|
docs(test): video pricing table test plan with mock server design
Co-Authored-By: Claude <noreply@anthropic.com>
|
3 viikkoa sitten |
fengsilin
|
b91d07b0da
|
test: add e2e process helpers
|
3 viikkoa sitten |
fengsilin
|
9837e80fac
|
test: add e2e scripts
|
3 viikkoa sitten |
fengsilin
|
cf2c47b826
|
docs: add e2e test foundation plan
|
3 viikkoa sitten |
fengsilin
|
915efefaec
|
docs: add e2e test foundation design
|
3 viikkoa sitten |
fengsilin
|
3ac94e2e6f
|
test(task-pricing): cover model pricing api and remix snapshots
|
3 viikkoa sitten |
fengsilin
|
19bdae5509
|
fix(stream): default non-positive streaming timeout
|
3 viikkoa sitten |
fengsilin
|
089bc88015
|
docs(task-pricing): document video pricing table testing
|
3 viikkoa sitten |
fengsilin
|
43b0bf293d
|
test(task-pricing): cover video usage billing flows
|
3 viikkoa sitten |
fengsilin
|
b36edf7f43
|
feat(ui): add model multidimensional pricing editor
|
3 viikkoa sitten |
fengsilin
|
aff3284d02
|
feat(ui): add model pricing config utilities
|
3 viikkoa sitten |
fengsilin
|
f3778e3931
|
test(task-pricing): cover doubao usage parsing
|
3 viikkoa sitten |
fengsilin
|
285323d765
|
feat(task-pricing): expose model pricing rules api
|
3 viikkoa sitten |
fengsilin
|
3a52f31608
|
feat(task-pricing): gate channels for matrix usage billing
|
3 viikkoa sitten |
fengsilin
|
db8eacd558
|
feat(task-pricing): persist matrix billing snapshots
|
3 viikkoa sitten |
fengsilin
|
8f2b014366
|
feat(task-pricing): add matrix lookup decisions
|
3 viikkoa sitten |
fengsilin
|
ae1e68792a
|
feat(task-pricing): resolve pricing dimensions from task requests
|
3 viikkoa sitten |
fengsilin
|
b4301a53ae
|
feat(task-pricing): validate and cache model pricing rules
|
3 viikkoa sitten |
fengsilin
|
95060ea0aa
|
feat(task-pricing): add pricing config and decision types
|
3 viikkoa sitten |