30 lines
544 B
TypeScript
30 lines
544 B
TypeScript
/**
|
|
* Web Search Provider Type Definitions
|
|
*/
|
|
|
|
/**
|
|
* Web Search Provider IDs
|
|
*/
|
|
export type WebSearchProviderId = 'tavily' | 'bocha' | 'brave' | 'baidu' | 'minimax' | 'doubao';
|
|
|
|
/**
|
|
* 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;
|
|
}
|