File size: 757 Bytes
4badc3b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**
 * Format Converter Module
 * Converts between Anthropic Messages API format and Google Generative AI format
 */

// Re-export all from each module
export * from './request-converter.js';
export * from './response-converter.js';
export * from './content-converter.js';
export * from './schema-sanitizer.js';
export * from './thinking-utils.js';
export * from './model-aliases.js';
export * from './openai-compat.js';
export * from './openai-stream.js';
export * from './reasoning-effort.js';

// Default export for backward compatibility
import { convertAnthropicToGoogle } from './request-converter.js';
import { convertGoogleToAnthropic } from './response-converter.js';

export default {
    convertAnthropicToGoogle,
    convertGoogleToAnthropic
};