import { DEFAULT_OPENAI_MODEL } from '../../../../core/config.js';
import { LlmProviderInference } from '../../../../core/llm/registry/provider-inference.js';
import { OpenAiAdapter } from './openai-adapter.js';
/**
 * Registers OpenAI as an LLM provider adapter. Provider matching and adapter
 * construction stay here so the registry does not need OpenAI-specific logic.
 */
export class OpenAiProviderAdapter {
    provider = 'openai';
    inferModel(model) {
        return LlmProviderInference.matchesProviderModel(this.provider, model.trim());
    }
    defaultModel() {
        return DEFAULT_OPENAI_MODEL;
    }
    createAdapter(input) {
        return new OpenAiAdapter(input);
    }
}
//# sourceMappingURL=openai-provider-adapter.js.map