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
Linux
python 3.10
Latest Release
channel
wx(个人微信, itchat)
按照步骤正常安装即可,没有其他的步骤
[INFO][2024-11-13 23:22:45][dify_bot.py:34] - [DIFY] query=你现在可以说话吗 [WARNING][2024-11-13 23:22:46][dify_bot.py:109] - [DIFY] payload={'inputs': {}, 'query': '你现在可以说话吗', 'response_mode': 'blocking', 'conversation_id': '', 'user': 'Re_DTE'} response text={"code": "completion_request_error", "message": "[tongyi] Error: 3 validation errors for AssistantPromptMessage\ncontent.str\n Input should be a valid string [type=string_type, input_value=[{'text': '\u662f\u7684\uff0c\u6211...\u4ee5\u5e2e\u52a9\u4f60\u7684\u5417\uff1f'}], input_type=list]\n For further information visit https://errors.pydantic.dev/2.9/v/string_type\ncontent.list[PromptMessageContent].0.type\n Field required [type=missing, input_value={'text': '\u662f\u7684\uff0c\u6211\u73b0...\u4ee5\u5e2e\u52a9\u4f60\u7684\u5417\uff1f'}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.9/v/missing\ncontent.list[PromptMessageContent].0.data\n Field required [type=missing, input_value={'text': '\u662f\u7684\uff0c\u6211\u73b0...\u4ee5\u5e2e\u52a9\u4f60\u7684\u5417\uff1f'}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.9/v/missing", "status": 400} status_code=400 [INFO][2024-11-13 23:22:47][wechat_channel.py:246] - [WX] sendMsg=Reply(type=TEXT, content=我暂时遇到了一些问题,请您稍后重试~), receiver=@d0970471bc179b69834c96d8c76c11a0badf42cb8a599be796bcac23b54c12c2
The text was updated successfully, but these errors were encountered:
同样的问题
Sorry, something went wrong.
same problem
你们试试用 Apifox 调试下API接口, "response_mode": "blocking",看看api接口是否正常? 我一开始模型选的 qwen-vl-max-0809,是类似的情况,模型改成 “qwen-plus-0919” 就正常了
你用多模态模型成功了没?我用qwen-plus正常使用,改成qwen-vl-max,相关配置也按说明修改,就回复”我暂时遇到了一些问题,请您稍后重试“了
No branches or pull requests
前置确认
操作系统类型?
Linux
运行的python版本是?
python 3.10
使用的dify-on-wechat版本是?
Latest Release
运行的
channel
类型是?wx(个人微信, itchat)
复现步骤 🕹
按照步骤正常安装即可,没有其他的步骤
问题描述 😯
[INFO][2024-11-13 23:22:45][dify_bot.py:34] - [DIFY] query=你现在可以说话吗
[WARNING][2024-11-13 23:22:46][dify_bot.py:109] - [DIFY] payload={'inputs': {}, 'query': '你现在可以说话吗', 'response_mode': 'blocking', 'conversation_id': '', 'user': 'Re_DTE'} response text={"code": "completion_request_error", "message": "[tongyi] Error: 3 validation errors for AssistantPromptMessage\ncontent.str\n Input should be a valid string [type=string_type, input_value=[{'text': '\u662f\u7684\uff0c\u6211...\u4ee5\u5e2e\u52a9\u4f60\u7684\u5417\uff1f'}], input_type=list]\n For further information visit https://errors.pydantic.dev/2.9/v/string_type\ncontent.list[PromptMessageContent].0.type\n Field required [type=missing, input_value={'text': '\u662f\u7684\uff0c\u6211\u73b0...\u4ee5\u5e2e\u52a9\u4f60\u7684\u5417\uff1f'}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.9/v/missing\ncontent.list[PromptMessageContent].0.data\n Field required [type=missing, input_value={'text': '\u662f\u7684\uff0c\u6211\u73b0...\u4ee5\u5e2e\u52a9\u4f60\u7684\u5417\uff1f'}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.9/v/missing", "status": 400}
status_code=400
[INFO][2024-11-13 23:22:47][wechat_channel.py:246] - [WX] sendMsg=Reply(type=TEXT, content=我暂时遇到了一些问题,请您稍后重试~), receiver=@d0970471bc179b69834c96d8c76c11a0badf42cb8a599be796bcac23b54c12c2
这个是日志,显示的报错信息
终端日志 📒
The text was updated successfully, but these errors were encountered: