The tool uses self.create_image_message to return images, but it keeps reporting unknown error: missing meta data
Self Checks
- [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [x] Please do not modify this template :) and fill in all the required fields.
Dify version
1.1.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
I found a similar unsolved discussion regarding an "unknown error: missing meta data" when calling Flux Tools in Agent Mode. You might find it helpful to check out this discussion for any updates or potential solutions: Help: In Agent Mode, To call Flux Tools, Response Error:unknown error: missing meta data [1].
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
发现了一样的问题
@crazywoola, the user has indicated that they are still encountering a similar issue related to the "unknown error: missing meta data" when calling Flux Tools in Agent Mode. Could you please assist them with this?
I'm having the same problem and hopefully it will be resolved soon.
I have the same problem, I fix this with deleting yield self.create_image_message(image_url) statement on my own function tool, use create_text_message, create_json_message, create_blob_message
Hi, @jlokys. I'm Dosu (https://dosu.dev), and I'm helping the Dify team manage their backlog and am marking this issue as stale.
Issue Summary:
- You reported an "unknown error: missing meta data" when using
self.create_image_messagein version 1.1.3 (self-hosted via Docker). - Other users like tanaous and obstinacy26 have confirmed experiencing the same issue.
- A suggested workaround by wwfyde is to avoid
create_image_messageand usecreate_text_message,create_json_message, orcreate_blob_messageinstead. - The issue remains unresolved, with some related discussion and maintainer attention requested.
Next Steps:
- Please let me know if this issue is still relevant with the latest version of Dify by commenting here to keep the discussion open.
- If I don’t hear back within 15 days, this issue will be automatically closed.
Thanks for your understanding and contribution!