26 lines
513 B
TypeScript
26 lines
513 B
TypeScript
/**
|
|
* LLM服务统一导出
|
|
*/
|
|
|
|
// 类型定义
|
|
export type {
|
|
LLMProvider,
|
|
LLMConfig,
|
|
LLMMessage,
|
|
LLMRequest,
|
|
LLMResponse,
|
|
ILLMAdapter,
|
|
} from './types';
|
|
|
|
// 工具类
|
|
export { LLMError, DEFAULT_LLM_CONFIG, DEFAULT_MODELS, DEFAULT_BASE_URLS } from './types';
|
|
export { BaseLLMAdapter } from './base-adapter';
|
|
|
|
// 适配器
|
|
export * from './adapters';
|
|
|
|
// 工厂和服务
|
|
export { LLMFactory } from './llm-factory';
|
|
export { LLMService, createLLMService, getDefaultLLMService } from './llm-service';
|
|
|