feat(chat): add Querit web search provider (#17813)

This commit is contained in:
EthanZhang
2026-08-05 09:54:46 +08:00
committed by GitHub
parent 4d68e154ce
commit bdcd8aadde
32 changed files with 1253 additions and 134 deletions

View File

@@ -1,4 +1,4 @@
import { MessageType } from '@/constants/chat';
import { MessageType, WebSearchProvider } from '@/constants/chat';
import { IAttachment } from '@/hooks/use-send-message';
export interface IDocumentDownloadInfo {
@@ -21,6 +21,8 @@ export interface PromptConfig {
reasoning?: boolean;
cross_languages?: Array<string>;
tavily_api_key?: string;
querit_api_key?: string;
web_search_provider?: WebSearchProvider;
toc_enhance?: boolean;
reference_metadata?: {
include?: boolean;
@@ -202,6 +204,7 @@ export interface IExternalChatInfo {
title: string;
prologue?: string;
has_tavily_key?: boolean;
has_web_search_provider?: boolean;
llm_id?: string;
}