feat(quick-qa): add references drawer and polish retrieval source UI

Add a side panel for web and knowledge-base citations with citation-badge
highlighting, refine collapsed RAG pipeline summary layout, and emit
knowledge_base_id from agent knowledge_search results.
This commit is contained in:
wizardchen
2026-07-07 20:21:28 +08:00
committed by lyingbug
parent 45eab4a95f
commit 3209ed77fd
19 changed files with 1753 additions and 194 deletions
+17
View File
@@ -3058,6 +3058,23 @@ export default {
referencesDocCount: 'Referenced {count} document(s)',
referencesWebCount: 'Referenced {count} web result(s)',
referencesDocAndWebCount: 'Referenced {docCount} document(s) and {webCount} web page(s)',
referencesDrawerTitle: 'Sources',
referencesDrawerTitleWeb: 'Web sources',
referencesDrawerTitleDocs: 'Document sources',
referencesDrawerTitleTools: 'Tool results',
referencesDrawerTitleMixed: 'Sources',
referencesDrawerChipWeb: '{count} web',
referencesDrawerChipDocs: '{count} docs',
referencesDrawerChipMixed: '{count} sources',
referencesDrawerOpenWeb: 'View {count} web',
referencesDrawerOpenDocs: 'View {count} docs',
referencesDrawerOpenMixed: 'View {count} sources',
referencesDrawerWebSection: 'Web',
referencesDrawerDocsSection: 'Documents',
referencesDrawerToolsSection: 'Tools',
referencesDrawerDocument: 'Knowledge document',
referencesDrawerTool: 'Tool result',
referencesDrawerEmpty: 'No sources available',
referenceChunkCount: '{count} chunk(s)',
fallbackHint: 'No relevant content found in knowledge base. Above is a direct response from the model.',
requestInfoTitle: 'Request info',