@@ -62,7 +62,7 @@ func refBacklinks(args map[string]interface{}) (CallToolResult, error) {
6262 id , _ := args ["id" ].(string )
6363 keyword , _ := args ["keyword" ].(string )
6464
65- _ , backlinks , _ , _ , _ := model .GetBacklink2 (id , keyword , "" , 0 , 0 , false )
65+ _ , backlinks , _ , _ , _ := model .GetBacklink2 (id , keyword , "" , 0 , 0 , model . Conf . Editor . BacklinkContainChildren )
6666 if len (backlinks ) == 0 {
6767 return CallToolResult {Content : []ContentItem {{Type : "text" , Text : "no backlinks found" }}}, nil
6868 }
@@ -79,7 +79,7 @@ func refMentions(args map[string]interface{}) (CallToolResult, error) {
7979 id , _ := args ["id" ].(string )
8080 keyword , _ := args ["keyword" ].(string )
8181
82- _ , _ , mentions , _ , _ := model .GetBacklink2 (id , "" , keyword , 0 , 0 , false )
82+ _ , _ , mentions , _ , _ := model .GetBacklink2 (id , "" , keyword , 0 , 0 , model . Conf . Editor . BacklinkContainChildren )
8383 if len (mentions ) == 0 {
8484 return CallToolResult {Content : []ContentItem {{Type : "text" , Text : "no mentions found" }}}, nil
8585 }
0 commit comments