Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Http Server 状态码异常 #2087

Open
5 tasks done
oliver-zhang opened this issue Feb 13, 2025 · 0 comments · May be fixed by #2089
Open
5 tasks done

Http Server 状态码异常 #2087

oliver-zhang opened this issue Feb 13, 2025 · 0 comments · May be fixed by #2089
Labels
bug Something isn't working

Comments

@oliver-zhang
Copy link

例行检查

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

问题描述
如果调用大模型发生业务异常,/chat/completions服务端的状态码取至于里面调用大模型接口返回的状态码,这样会导致服务端的http.response.status_code出现400/404这样的状态码,这与http服务端的状态码定义冲突

@oliver-zhang oliver-zhang added the bug Something isn't working label Feb 13, 2025
@oliver-zhang oliver-zhang linked a pull request Feb 13, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant