fix(deep-research): apply search language correctly

This commit is contained in:
AnotiaWang
2025-02-25 16:12:47 +08:00
parent f58bced86e
commit 4b86257a1d
3 changed files with 10 additions and 3 deletions

View File

@ -40,6 +40,7 @@
const toast = useToast()
const { t, locale } = useI18n()
const { config } = useConfigStore()
const isLargeScreen = useMediaQuery('(min-width: 768px)')
const flowRef = ref<InstanceType<typeof Flow>>()
@ -278,6 +279,7 @@
breadth,
maxDepth: form.value.depth,
languageCode: locale.value,
searchLanguageCode: config.webSearch.searchLanguage,
learnings: existingLearnings,
visitedUrls: existingVisitedUrls,
onProgress: handleResearchProgress,

View File

@ -103,7 +103,6 @@
}
function reset() {
console.warn('reset')
layoutGraph()
hasUserInteraction = false
}