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

When using siliconcloud text2image: run failed #14614

Closed
5 tasks done
amoycode opened this issue Mar 1, 2025 · 4 comments
Closed
5 tasks done

When using siliconcloud text2image: run failed #14614

amoycode opened this issue Mar 1, 2025 · 4 comments
Labels
🐞 bug Something isn't working 🔨 feat:tools Tools for agent, function call related stuff. pendding Need more information to proceed

Comments

@amoycode
Copy link

amoycode commented Mar 1, 2025

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.0.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

api-1 | 2025-03-01 09:08:34.076 ERROR [Thread-28 (_generate_worker)] [graph_engine.py:832] - Node Stable Diffusion run failed
api-1 | Traceback (most recent call last):
api-1 | File "/app/api/core/workflow/graph_engine/graph_engine.py", line 643, in _run_node
api-1 | for item in generator:
api-1 | ^^^^^^^^^
api-1 | File "/app/api/core/workflow/nodes/base/node.py", line 84, in run
api-1 | yield from result
api-1 | File "/app/api/core/workflow/nodes/tool/tool_node.py", line 64, in _run
api-1 | tool_runtime = ToolManager.get_workflow_tool_runtime(
api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/core/tools/tool_manager.py", line 361, in get_workflow_tool_runtime
api-1 | tool_runtime = cls.get_tool_runtime(
api-1 | ^^^^^^^^^^^^^^^^^^^^^
api-1 | File "/app/api/core/tools/tool_manager.py", line 204, in get_tool_runtime
api-1 | raise ToolProviderNotFoundError(f"builtin provider {provider_id} not found")
api-1 | core.tools.errors.ToolProviderNotFoundError: builtin provider langgenius/siliconflow_tool/siliconflow not found

Image

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

@dosubot dosubot bot added the 🐞 bug Something isn't working label Mar 1, 2025
Copy link

dosubot bot commented Mar 1, 2025

Hey, @amoycode! I'm a bot here to help you with bugs, questions, and becoming a contributor. Let's tackle this issue together while we wait for a human maintainer.

The error message indicates that the built-in provider "langgenius/siliconflow_tool/siliconflow" is not found, which is causing the failure in running the Stable Diffusion node. This typically happens when the tool provider is not registered or defined correctly in the Dify platform.

To resolve this issue, you should check the following:

  1. Registration of the Provider: Ensure that the "langgenius/siliconflow_tool/siliconflow" provider is correctly registered in the Dify codebase. Built-in tool providers are usually defined in the BuiltinToolProvider class within the api/models/tools.py file [1].

  2. Configuration Files: Verify that the necessary configuration files for the provider are present and correctly set up. This includes any YAML configuration files that define the model identification, properties, and other necessary parameters [2].

  3. Advanced Tool Integration: If you are using Dify 0.15.3 or later, check the Dify-Official-Plugins repository, as the Advanced Tool Integration functionality has moved there [3].

By ensuring that the provider is correctly registered and configured, you should be able to resolve the ToolProviderNotFoundError.

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 crazywoola added the 🔨 feat:tools Tools for agent, function call related stuff. label Mar 1, 2025
@crazywoola
Copy link
Member

Please try to install the plugin from the market place.

@crazywoola crazywoola added the pendding Need more information to proceed label Mar 1, 2025
@amoycode
Copy link
Author

amoycode commented Mar 1, 2025

Please try to install the plugin from the market place.

Image
I installed the plugin directly from the plugin marketplace.

@crazywoola
Copy link
Member

crazywoola commented Mar 1, 2025

Image

It seems you missed the second one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 🔨 feat:tools Tools for agent, function call related stuff. pendding Need more information to proceed
Projects
None yet
Development

No branches or pull requests

2 participants