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

config error,check logs #191

Closed
onlinedear opened this issue May 19, 2024 · 2 comments
Closed

config error,check logs #191

onlinedear opened this issue May 19, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@onlinedear
Copy link

在NextChat里测试返回的结果是500

{
  "error": {
    "message": "config error,check logs",
    "type": "request_error",
    "param": "",
    "code": "500"
  }
}

部署的接口地址:gpt.ai-api.com.cn

安装文档的提示,api文档地址为:https://gpt.ai-api.com.cn/swagger/index.html

在docker的日志中,报错信息如下:

[GIN] 2024/05/19 - 10:50:30 | 20240519105030473126266Hyz9xhTj | 204 | 4.536948ms | 115.193.202.111 | OPTIONS /v1/chat/completions [ERR] 2024/05/19 - 10:50:30 | 202405191050305218965233mnxL5nB | HTTP 404 Not Found, {"message": "Unknown Guild", "code": 10004} [GIN] 2024/05/19 - 10:50:30 | 202405191050305218965233mnxL5nB | 500 | 278.197929ms | 115.193.202.111 | POST /v1/chat/completions [GIN] 2024/05/19 - 10:50:30 | 202405191050308421896651zlN1vAu | 204 | 18.632µs | 115.193.202.111 | OPTIONS /v1/chat/completions [GIN] 2024/05/19 - 10:50:31 | 20240519105030882546878THzDmnk2 | 500 | 264.366884ms | 115.193.202.111 | POST /v1/chat/completions [ERR] 2024/05/19 - 10:50:31 | 20240519105030882546878THzDmnk2 | HTTP 404 Not Found, {"message": "Unknown Guild", "code": 10004}

@onlinedear onlinedear added the enhancement New feature or request label May 19, 2024
@deanxv
Copy link
Owner

deanxv commented May 19, 2024

环境变量GUILD_ID配置有误

@deanxv deanxv closed this as completed May 19, 2024
@onlinedear
Copy link
Author

环境变量GUILD_ID配置有误

感谢,已经搞好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants