4a913fcef7
- Deleted the old ReasoningCache class and its instance. - Introduced CacheService for managing reasoning caches. - Updated unified-messages service to utilize new googleReasoningCache and openRouterReasoningCache. - Added AiSdkToAnthropicSSE adapter to handle streaming events and integrate with new cache service. - Reorganized shared adapters to include the new AiSdkToAnthropicSSE adapter. - Created openrouter adapter with detailed reasoning schemas for better type safety and validation.
14 lines
269 B
TypeScript
14 lines
269 B
TypeScript
/**
|
|
* Shared Adapters
|
|
*
|
|
* This module exports adapters for converting between different AI API formats.
|
|
*/
|
|
|
|
export {
|
|
AiSdkToAnthropicSSE,
|
|
type AiSdkToAnthropicSSEOptions,
|
|
formatSSEDone,
|
|
formatSSEEvent,
|
|
type SSEEventCallback
|
|
} from './AiSdkToAnthropicSSE'
|