30 lines
533 B
TypeScript

/**
* Web Search Provider Type Definitions
*/
/**
* Web Search Provider IDs
*/
export type WebSearchProviderId = 'tavily' | 'bocha' | 'brave' | 'baidu' | 'minimax';
/**
* Baidu sub-source toggles
*/
export interface BaiduSubSources {
webSearch: boolean;
baike: boolean;
scholar: boolean;
}
/**
* Web Search Provider Configuration
*/
export interface WebSearchProviderConfig {
id: WebSearchProviderId;
name: string;
requiresApiKey: boolean;
defaultBaseUrl?: string;
endpointPath: string;
icon?: string;
}