mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
xinference plugin code undefined #127
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @timwenx on GitHub (Mar 26, 2025).
Self Checks
Dify version
1.1.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Helper undefined
✔️ Expected Behavior
He can run
❌ Actual Behavior
No response
@dosubot[bot] commented on GitHub (Mar 26, 2025):
The issue you're encountering with the
helper.dump_model(tool)being undefined in thellm.pyfile might be due to an incorrect import or missing definition of thehelpermodule. According to the repository, thehelpermodule is defined inapi/libs/helper.py[1]. However, in thellm.pyfile, it is imported fromcore.model_runtime.utils:To resolve this, ensure that the
helpermodule is correctly imported from the right path where it is defined. You might need to adjust the import statement inllm.pyto match the actual location of thehelpermodule. If the module is indeed located inapi/libs/helper.py, you should update the import path accordingly.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
@timwenx commented on GitHub (Mar 26, 2025):
@timwenx commented on GitHub (Mar 26, 2025):
@crazywoola After I added the code, this error appeared: Failed to transform agent message: PluginInvokeError: {"args":{},"error_type":"AttributeError","message":"'NoneType' object has no attribute 'model_properties'"}
@hxujal commented on GitHub (Apr 15, 2025):
请问这个问题解决了吗
@dosubot[bot] commented on GitHub (Aug 19, 2025):
Hi, @wenxinji. I'm Dosu (https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary:
What's Next:
Thank you for your understanding and contribution!