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

分别用docker和不用docker启动项目,都能启动项目,但是返回都是显示“我暂时遇到了一些问题,请您稍后重试~” #139

Open
2 tasks done
chiefluo opened this issue Nov 13, 2024 · 4 comments

Comments

@chiefluo
Copy link

前置确认

  • 我确认我运行的是最新版本的代码,并且安装了所需的依赖,在FAQS中也未找到类似问题。

⚠️ 搜索issues中是否已存在类似问题

  • 我已经搜索过issues和disscussions,没有跟我遇到的问题相关的issue

操作系统类型?

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

这个是日志,显示的报错信息

终端日志 📒

[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
@daisyoak1989
Copy link

同样的问题

@helojo
Copy link

helojo commented Dec 17, 2024

same problem

@Bisns
Copy link

Bisns commented Feb 6, 2025

你们试试用 Apifox 调试下API接口, "response_mode": "blocking",看看api接口是否正常? 我一开始模型选的 qwen-vl-max-0809,是类似的情况,模型改成 “qwen-plus-0919” 就正常了

@liguoyu666
Copy link

你们试试用 Apifox 调试下API接口, "response_mode": "blocking",看看api接口是否正常? 我一开始模型选的 qwen-vl-max-0809,是类似的情况,模型改成 “qwen-plus-0919” 就正常了

你用多模态模型成功了没?我用qwen-plus正常使用,改成qwen-vl-max,相关配置也按说明修改,就回复”我暂时遇到了一些问题,请您稍后重试“了

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

No branches or pull requests

5 participants