@@ -268,13 +268,13 @@ func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetG
268268 // toolsets.NewServerTool(ManageRepositoryNotificationSubscription(getClient, t)),
269269 // )
270270
271- // discussions := toolsets.NewToolset(ToolsetMetadataDiscussions.ID, ToolsetMetadataDiscussions.Description).
272- // AddReadTools(
273- // toolsets.NewServerTool(ListDiscussions(getGQLClient, t)),
274- // toolsets.NewServerTool(GetDiscussion(getGQLClient, t)),
275- // toolsets.NewServerTool(GetDiscussionComments(getGQLClient, t)),
276- // toolsets.NewServerTool(ListDiscussionCategories(getGQLClient, t)),
277- // )
271+ discussions := toolsets .NewToolset (ToolsetMetadataDiscussions .ID , ToolsetMetadataDiscussions .Description ).
272+ AddReadTools (
273+ toolsets .NewServerTool (ListDiscussions (getGQLClient , t )),
274+ toolsets .NewServerTool (GetDiscussion (getGQLClient , t )),
275+ toolsets .NewServerTool (GetDiscussionComments (getGQLClient , t )),
276+ toolsets .NewServerTool (ListDiscussionCategories (getGQLClient , t )),
277+ )
278278
279279 // actions := toolsets.NewToolset(ToolsetMetadataActions.ID, ToolsetMetadataActions.Description).
280280 // AddReadTools(
@@ -372,7 +372,7 @@ func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetG
372372 // tsg.AddToolset(dependabot)
373373 // tsg.AddToolset(notifications)
374374 // tsg.AddToolset(experiments)
375- // tsg.AddToolset(discussions)
375+ tsg .AddToolset (discussions )
376376 tsg .AddToolset (gists )
377377 tsg .AddToolset (securityAdvisories )
378378 // tsg.AddToolset(projects)
0 commit comments