功能(web):模型价格统一为四项核心字段 - #2
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
提交说明
Important
变更描述
将模型价格可视化编辑器收敛为四项用户可见价格:输入价格、输出价格、缓存命中价格和缓存创建价格。
变更类型
关联任务
AI 辅助披露
✅ 提交前检查项 / Checklist
验证结果
bun test src/features/system-settings/models/__tests__/pricing-lanes.test.ts:3 项通过。bun run typecheck:通过。oxlint:通过。bun run build:通过。bun run format:check:通过。bun run lint:被仓库现有未修改文件中的 lint 错误阻断,本 PR 涉及文件无错误。bun run copyright:check:被现有 stale chunk recovery 文件的版权头问题阻断,本 PR 新增文件版权头检查正常。风险与回滚
风险较低,变更只影响管理端模型价格可视化编辑器和中文术语,不修改后端计费存储或结算逻辑。已有图像和音频倍率继续保存在表单隐藏字段中,但无法再从可视化编辑器调整;需要时仍可通过 JSON 模式维护。回滚可直接 revert 本 PR。