fix(search): apply tag filters to knowledge search

This commit is contained in:
langcaiye
2026-07-03 10:42:54 +08:00
committed by lyingbug
parent b16cb0bb56
commit 1708d6895a
13 changed files with 363 additions and 87 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ func (c *SearchCommand) Execute(ctx context.Context, cmdCtx *CommandContext, arg
}
}
results, err := c.sessionService.SearchKnowledge(ctx, kbIDs, nil, query)
results, err := c.sessionService.SearchKnowledge(ctx, kbIDs, nil, nil, query)
if err != nil {
return nil, fmt.Errorf("search knowledge: %w", err)
}