Feat: Add a web search button to the chat box on the chat page. (#12786)

### What problem does this PR solve?

Feat: Add a web search button to the chat box on the chat page.

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2026-01-23 09:33:50 +08:00
committed by GitHub
parent e9453a3971
commit 8dd4a41bf8
12 changed files with 110 additions and 12 deletions

View File

@@ -13,6 +13,7 @@ export interface PromptConfig {
use_kg: boolean;
reasoning?: boolean;
cross_languages?: Array<string>;
tavily_api_key?: string;
}
export interface Parameter {
@@ -100,6 +101,7 @@ export interface Message {
chatBoxId?: string;
attachment?: IAttachment;
reasoning?: boolean;
internet?: boolean;
}
export interface IReferenceChunk {
@@ -183,6 +185,7 @@ export interface IExternalChatInfo {
avatar?: string;
title: string;
prologue?: string;
has_tavily_key?: boolean;
}
export interface IMessage extends Message {