Skip to content

Conversation

@shetzel
Copy link
Contributor

@shetzel shetzel commented Feb 28, 2025

What does this PR do?

When deleting by agent pseudo type, ask the user which topics (genAiPlugins) related to the agent that they'd like to delete. Topics can be used by multiple agents so developers might not want to delete them with the agent metadata.

What issues does this PR fix or reference?

@W-17909761@

include: this.componentSet,
});
// Confirm if the user wants to delete GenAiPlugins as part of an agent
if (!this.flags['no-prompt']) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so if --no-prompt it will delete all genAiFuncs?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, only GenAiPlugins. GenAiFuncs are not included in the delete.

@WillieRuemmele
Copy link
Contributor

QA Notes

with SDR branch built/linked

✅ : choose all agents, see all topics
✅ : choose specific agent, see only topics related to that
✅ : deletes specified agent/topics/versions in org

@WillieRuemmele WillieRuemmele merged commit e895e0b into main Mar 18, 2025
43 checks passed
@WillieRuemmele WillieRuemmele deleted the sh/confirm-agent-delete branch March 18, 2025 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants