github QuantumNous/new-api v0.10.7-alpha.1

8 hours ago

主要变更

  • 支持配置请求头透传,配置参考
{
  "Authorization": "{client_header:Test_Header}"
}
  • 兼容Grok对不合规的请求进行收费操作,支持配置 (系统设置 - 模型相关设置 - Grok设置)
image * 日志详情展示由于违反政策被拒绝的错误原因 image * 支持codex上下文压缩/v1/response/compact (需要添加模型,例如要使用gpt-5.2,就需要配置gpt-5.2-openai-compact) * 支持渠道优选,根据请求某个字段优先选择某个渠道 (系统设置 - 模型相关设置 - 渠道亲和性) image

What's Changed

  • feat(qwen): support qwen image sync image model config by @xyfacai in #2717
  • feat: requestId time string use UTC by @feitianbubu in #2713
  • fix request pass-through aws channels can't test by @daggeryu in #2693
  • feat: enhance Authorization header handling with Header Override support by @Li-Xingyu in #2738
  • feat(gemini): 支持 tool_choice 参数转换,优化多个渠道错误处理 by @seefs001 in #2742
  • 支持 tool_choice 参数转换,优化错误处理 by @laozuzhen in #2540
  • 修复钱包页面刷新时显示错误余额数据的问题 by @wans10 in #2749
  • feat: 可视化模型重定向设置中,允许用户从拉取的模型列表里直接选择模型 by @Bliod-Cook in #2610
  • feat: header passthrough by @seefs001 in #2735
  • fix: test using the correct path for rerank by @seefs001 in #2736
  • feat: channel affinity by @seefs001 in #2669
  • feat: openai response /v1/response/compact by @seefs001 in #2644
  • feat: grok Usage Guidelines Violation Fee by @seefs001 in #2753

New Contributors

Full Changelog: v0.10.6-alpha.4...v0.10.7-alpha.1

Don't miss a new new-api release

NewReleases is sending notifications on new releases.