Skip to content

Conversation

omgitsads
Copy link
Member

@omgitsads omgitsads commented Oct 10, 2025

Allow unknown toolsets to be optionally ignored, rather than raising an error.

@omgitsads omgitsads requested a review from a team as a code owner October 10, 2025 08:49
@Copilot Copilot AI review requested due to automatic review settings October 10, 2025 08:49
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

func (tg *ToolsetGroup) EnableToolsets(names []string, options *EnableToolsetsOptions) error {
if options == nil {
options = &EnableToolsetsOptions{
IgnoreUnknown: false,
Copy link
Contributor

Choose a reason for hiding this comment

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

shall we set it to true by default?

almaleksia
almaleksia previously approved these changes Oct 10, 2025
@omgitsads omgitsads merged commit bcc5275 into main Oct 10, 2025
16 checks passed
@omgitsads omgitsads deleted the ignore-not-found-tools branch October 10, 2025 13:21
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