Skip to content

Custom Tools show Invalid in UI after refreshing page (for no reason), but the Agent can still use it #30048

@mrudinal

Description

@mrudinal

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • 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, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.11.1

Cloud or Self Hosted

Cloud

Steps to reproduce

Create a custom tool, Install it in an agent, then refresh the page (not sure if this also happens with other AIs

✔️ Expected Behavior

The custom tool should continue to show blue status in the agent tools

❌ Actual Behavior

I created a custom tool called "crypto receive"

Image

I installed it in the agent and it looks fine and works:

Image

But when I refresh, or leave the page and then go back to agent, it will show disabled, says the tool was deleted (which is not true)

Image

Strangely, it continues using it, so it seems to be just in the UI but not in the actual AI agent:

Image

Not sure if this is also the case with chatflows or workflows

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions