Skip to content

定价计算器测试用例增强 #397

@ymkiux

Description

@ymkiux

测试问题

  • 前缀匹配测试未覆盖带后缀模型,未真正执行前缀匹配逻辑
  • gpt-5.4 相关测试仅校验非零价格,未校验精确计费结果,存在漏测风险

测试优化目标

  • 完善前缀匹配测试覆盖,验证带后缀模型能正确匹配前缀定价
  • 替换宽松的非零校验,使用精确数值断言定价计算结果
  • 保证所有模型定价逻辑可测、可信、可回归

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions