Skip to content

v0.1.1

Latest

Choose a tag to compare

@QingJ01 QingJ01 released this 10 May 11:10
· 1 commit to main since this release

DeepSeek V4 优化

新功能

  • CNY 人民币费用显示(DeepSeek 定价)
  • 缓存命中率和节省金额统计
  • UTF-8 字节 token 估算适配
  • 工具定义按字母排序以优化前缀缓存命中率
  • DeepSeek API 错误处理(402 余额不足 / 429 限流 / 422 参数无效 / 超时排队)

修复

  • 修正 thinking 模式下 temperature 处理(thinking 激活时不发送 temperature)
  • 简化 DeepSeek thinking 参数(budget_tokens 设为 maxOutputTokens - 1,effort 由服务端控制)
  • 拒绝未知 DeepSeek 模型名(防止服务端静默降级为 flash)
  • 修复 is_error 工具结果补偿(DeepSeek 忽略 is_error 字段,自动添加 [ERROR] 前缀)
  • 修复模型切换时 onDone 双重调用问题