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

似乎没有路由/responses ? #885

Open
4 of 5 tasks
hide-on-bush-lalala opened this issue Mar 19, 2025 · 1 comment · May be fixed by #902
Open
4 of 5 tasks

似乎没有路由/responses ? #885

hide-on-bush-lalala opened this issue Mar 19, 2025 · 1 comment · May be fixed by #902
Labels
bug Something isn't working

Comments

@hide-on-bush-lalala
Copy link

例行检查

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

问题描述
openai官网的python库的实例代码已经使用的都是client.responses.create接口了,我试了一下这个client.chat.completions.create可以正常使用,但是如果使用client.responses.create就会报错。

Error code: 404 - {'error': {'message': 'Invalid URL (POST /v1/responses)', 'type': 'invalid_request_error', 'param': '', 'code': ''}}

我想确认一下是new-api目前暂未支持吗?我自己看看了一下new-api/router/relay-router.go这个文件,似乎这个请求都不会被路由?这个在开发中嘛?

@hide-on-bush-lalala hide-on-bush-lalala added the bug Something isn't working label Mar 19, 2025
@hide-on-bush-lalala
Copy link
Author

我理解并愿意跟进此 issue,协助测试和提供反馈

此项未打钩的原因是我并非自己搭建的,而是使用的别人搭建的new-api使用不了。。。。

@yeatse yeatse linked a pull request Mar 26, 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