;
total_pattern_hits: number;
distinct_patterns: number;
@@ -212,11 +214,13 @@ export interface GrepKnowledgeResult {
// Grep results data
export interface GrepResultsData {
display_type: 'grep_results';
+ query?: string;
patterns: string[];
knowledge_results: GrepKnowledgeResult[];
result_count: number;
total_matches: number;
knowledge_base_ids?: string[];
+ limit?: number;
max_results: number;
}
diff --git a/frontend/src/views/auth/Login.vue b/frontend/src/views/auth/Login.vue
index 97ae3bc9..e9be217f 100755
--- a/frontend/src/views/auth/Login.vue
+++ b/frontend/src/views/auth/Login.vue
@@ -150,8 +150,9 @@
{{ $t('platform.rag') }}
+ {{ $t('platform.agent') }}
+ {{ $t('platform.wiki') }}
{{ $t('platform.hybridSearch') }}
- {{ $t('platform.localDeploy') }}
@@ -350,6 +351,7 @@ import { useI18n } from 'vue-i18n'
// Import screenshot images
import screenshot1 from '@/assets/img/screenshot-1.svg'
import screenshot2 from '@/assets/img/screenshot-2.svg'
+import screenshot3 from '@/assets/img/screenshot-3.svg'
import screenshot4 from '@/assets/img/screenshot-4.svg'
const router = useRouter()
@@ -373,6 +375,11 @@ const slides = [
title: t('platform.carousel.hybridSearchTitle'),
description: t('platform.carousel.hybridSearchDesc')
},
+ {
+ image: screenshot3,
+ title: t('platform.carousel.wikiTitle'),
+ description: t('platform.carousel.wikiDesc')
+ },
{
image: screenshot1,
title: t('platform.carousel.smartDocRetrievalTitle'),
diff --git a/frontend/src/views/chat/components/AgentStreamDisplay.vue b/frontend/src/views/chat/components/AgentStreamDisplay.vue
index 52e50ee5..54d3b9d9 100644
--- a/frontend/src/views/chat/components/AgentStreamDisplay.vue
+++ b/frontend/src/views/chat/components/AgentStreamDisplay.vue
@@ -2120,19 +2120,17 @@ const getResultsCount = (toolData: any): number => {
const getGrepResultsSummary = (toolData: any): string => {
if (!toolData) return '';
- const totalMatches = toolData.total_matches || 0;
- const resultCount = toolData.result_count || 0;
-
- if (totalMatches === 0) {
+ const totalChunks = toolData.total_matches || 0;
+ const docCount = toolData.result_count || 0;
+
+ if (totalChunks === 0) {
return t('agentStream.search.noResults');
}
- let summary = t('agentStream.search.foundMatches', { count: `${totalMatches}` });
- if (totalMatches > resultCount) {
- summary += t('agentStream.search.showingCount', { count: `${resultCount}` });
- }
-
- return summary;
+ return t('agentStream.search.grepSummary', {
+ chunks: `${totalChunks}`,
+ docs: `${docCount}`,
+ });
};
// Extract and format query parameters from args
diff --git a/frontend/src/views/chat/components/tool-results/ContentPopup.vue b/frontend/src/views/chat/components/tool-results/ContentPopup.vue
index d0168fe4..61bbfd83 100644
--- a/frontend/src/views/chat/components/tool-results/ContentPopup.vue
+++ b/frontend/src/views/chat/components/tool-results/ContentPopup.vue
@@ -1,20 +1,28 @@