Skip to content

[BUG] Declarative Agent is internally bound to BYO Agent tools. Deleting BYO Agent can still provide services. #1186

@meetwangdk

Description

@meetwangdk

📋 Prerequisites

  • I have searched the existing issues to avoid creating a duplicate
  • By submitting this issue, you agree to follow our Code of Conduct
  • I am using the latest version of the software
  • I have tried to clear cache/cookies or used incognito mode (if ui-related)
  • I can consistently reproduce this issue

🎯 Affected Service(s)

Not Sure

🚦 Impact/Severity

No impact (Default)

🐛 Bug Description

In my Declarative Agent, after binding a BYO agent's Tool tool, it can provide services normally, but why, after I delete the bound BYO Agent and directly delete the Agent, BYO is still providing services?

🔄 Steps To Reproduce

  1. Create a Declarativer

  2. Bind a BYO Agent internally

  3. Create

  4. Ask questions and provide services

  5. Deleting BYO Agent (deleting the agent itself) does not mean deleting the agent: the configuration in tool&agent

  6. Ask the question again

  7. Services can still be provided

🤔 Expected Behavior

Declarative Agent is internally bound to BYO Agent tools. After the BYO Agent is deleted, the BYO Agent tools inside the original Declarative Agent should not provide services, right?

📱 Actual Behavior

No response

💻 Environment

No response

🔧 CLI Bug Report

No response

🔍 Additional Context

No response

📋 Logs

📷 Screenshots

No response

🙋 Are you willing to contribute?

  • I am willing to submit a PR to fix this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleThis issue or PR has become stale

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions