feat: Enhance knowledge base functionality by adding document search capability and updating related API and UI components

This commit is contained in:
wizardchen
2025-12-04 00:13:34 +08:00
parent dafb95d46a
commit bee699f5bf
12 changed files with 79 additions and 11 deletions
@@ -331,7 +331,7 @@ func (s *agentService) getKnowledgeBaseInfos(ctx context.Context, kbIDs []string
pageResult, err := s.knowledgeService.ListPagedKnowledgeByKnowledgeBaseID(ctx, kbID, &types.Pagination{
Page: 1,
PageSize: 10,
}, "")
}, "", "")
if err == nil && pageResult != nil {
docCount = int(pageResult.Total)