feat: add OpenAI provider integration and examples

This commit is contained in:
2025-05-28 12:04:10 +02:00
parent 42902445fb
commit aa2fd98cc1
9 changed files with 1061 additions and 17 deletions

View File

@@ -28,11 +28,13 @@ export { BaseAIProvider } from './providers/base.js';
// Concrete provider implementations
export { ClaudeProvider, type ClaudeConfig } from './providers/claude.js';
export { OpenAIProvider, type OpenAIConfig } from './providers/openai.js';
// Utility functions and factory
export {
createProvider,
createClaudeProvider,
createOpenAIProvider,
ProviderRegistry,
type ProviderType,
type ProviderConfigMap
@@ -49,4 +51,4 @@ export const VERSION = '1.0.0';
/**
* List of supported providers
*/
export const SUPPORTED_PROVIDERS = ['claude'] as const;
export const SUPPORTED_PROVIDERS = ['claude', 'openai'] as const;