We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
未star项目提issue会被自动关闭!
issue
几种报错异常返回信息
1.1
{ "error": { "message": "config error,check logs", "type": "request_error", "param": "", "code": "500" } }
配置异常,需查看服务打印的日志。
1.2
{ "error": { "message": "model_not_found", "type": "request_error", "param": "", "code": "500" } }
一般出现在多机器人配置后,指定的proxySecret(Api-Key)和model在bot_config.json中联合匹配未匹配到Bot的信息。
1.3
{ "error": { "message": "no_available_user_auth", "type": "request_error", "param": "", "code": "500" } }
环境变量USER_AUTHORIZATION中配置的用户authorization全部过期/失效或已达到每日模型调用限制(具体原因查看服务日志)。
1.4
{ "error": { "message": "authorization(proxy-secret)校验失败", "type": "invalid_request_error", "param": "", "code": "invalid_authorization" } }
与openai对齐的接口鉴权请求头为Authorization,value为Bearer < Api-Key >,CDP项目自有接口鉴权请求头为proxy-secret,value为< Api-Key >(Api-Key即是环境变量PROXY_SECRET)。
问题:
对话接口请求返回为空,但discord中已产生正常对话记录。
排查思路:
检查 discord-developers中监听Bot的图中权限是否开启(服务中涉及到的Bot尽量都开启此权限)。
对话接口流式请求下需等待达到超时时间(默认5分钟)才会结束流。
对话接口非流式请求下抛出超时异常信息。
集成NextChat后对话正常响应,但始终显示正在输入中。
检查coze的Bot调试页面中Auto-Suggtion是否为On/Default。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
未star项目提
issue
会被自动关闭!未star项目提
issue
会被自动关闭!未star项目提
issue
会被自动关闭!几种报错异常返回信息
1.1
配置异常,需查看服务打印的日志。
1.2
一般出现在多机器人配置后,指定的proxySecret(Api-Key)和model在bot_config.json中联合匹配未匹配到Bot的信息。
1.3
环境变量USER_AUTHORIZATION中配置的用户authorization全部过期/失效或已达到每日模型调用限制(具体原因查看服务日志)。
1.4
与openai对齐的接口鉴权请求头为Authorization,value为Bearer < Api-Key >,CDP项目自有接口鉴权请求头为proxy-secret,value为< Api-Key >(Api-Key即是环境变量PROXY_SECRET)。
问题:
对话接口请求返回为空,但discord中已产生正常对话记录。
排查思路:
检查 discord-developers中监听Bot的图中权限是否开启(服务中涉及到的Bot尽量都开启此权限)。
问题:
对话接口流式请求下需等待达到超时时间(默认5分钟)才会结束流。
对话接口非流式请求下抛出超时异常信息。
集成NextChat后对话正常响应,但始终显示正在输入中。
排查思路:
检查coze的Bot调试页面中Auto-Suggtion是否为On/Default。
The text was updated successfully, but these errors were encountered: