new-api icon indicating copy to clipboard operation
new-api copied to clipboard

渠道测试功能完全没有用

Open FlowerRealm opened this issue 11 months ago • 7 comments

例行检查

  • [x] 我已确认目前没有类似 issue
  • [x] 我已确认我已升级到最新版本
  • [x] 我已完整查看过项目 README,尤其是常见问题部分
  • [x] 我理解并愿意跟进此 issue,协助测试和提供反馈
  • [x] 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述

渠道测试功能完全没有用

index-Bvyuv5dO.js:2 模型 : bad response status code 400, message: Stream must be set to true, body: {"detail":"Stream must be set to true"} K @ index-Bvyuv5dO.js:2 index-Bvyuv5dO.js:2 模型 : not implemented K @ index-Bvyuv5dO.js:2 index-Bvyuv5dO.js:2 模型 : invalid character 'e' looking for beginning of value K @ index-Bvyuv5dO.js:2 2index-Bvyuv5dO.js:2 模型 : not implemented

预期结果

可以正确使用测试渠道功能

FlowerRealm avatar Dec 28 '25 05:12 FlowerRealm

📝 CodeRabbit Plan Mode

Generate an implementation plan and prompts that you can use with your favorite coding agent.

  • [ ] Create Plan
Examples

🔗 Related PRs

QuantumNous/new-api#1819 - 优化渠道测试 [merged]

👤 Suggested Assignees

🧪 Issue enrichment is currently in open beta.

You can configure auto-planning by selecting labels in the issue_enrichment configuration.

To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

issue_enrichment:
  auto_enrich:
    enabled: false

💬 Have feedback or questions? Drop into our discord!

coderabbitai[bot] avatar Dec 28 '25 05:12 coderabbitai[bot]

这个和NewAPI有什么关系?

seefs001 avatar Dec 28 '25 06:12 seefs001

Image

RedwindA avatar Dec 28 '25 06:12 RedwindA

我现在多渠道起码要有失败ban掉的能力, 测试不行就意味着ban掉不能自动打开

FlowerRealm avatar Dec 28 '25 11:12 FlowerRealm

我现在多渠道起码要有失败ban掉的能力, 测试不行就意味着ban掉不能自动打开

那你测试不通但是应用能用,关掉这个渠道自动禁用不就好了

seefs001 avatar Dec 28 '25 11:12 seefs001

自动禁用关了在优先级的作用下他会一直请求这个渠道然后爆炸

FlowerRealm avatar Dec 28 '25 11:12 FlowerRealm

还想用测试功能那就给上游搞支持非流测试喽,这个测试请求是非流的。

seefs001 avatar Dec 28 '25 11:12 seefs001