"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MODEL_VERSIONS = exports.OPENAI_MODELS = exports.getDefaultConfig = void 0;
const getDefaultConfig = (modelType) => {
    switch (modelType) {
        case exports.OPENAI_MODELS.GPT5Mini:
            return {
                temperature: 1,
                maxRetries: 3,
                // 60s per-request ceiling. gpt-5-mini is a reasoning model and a single
                // generation can exceed the previous 30s limit, causing every retry to
                // time out and the action to fail after ~2min. See summarizeForm.
                timeout: 60000,
            };
        default:
            return {
                temperature: 0,
                maxRetries: 3,
                timeout: 60000,
            };
    }
};
exports.getDefaultConfig = getDefaultConfig;
/**
 * Simplified model aliases for easier reference in code.
 * Use these constants instead of raw strings when specifying models.
 */
exports.OPENAI_MODELS = {
    GPT5Mini: 'gpt-5-mini',
};
/**
 * Maps model aliases to specific versioned model names.
 * Always use versioned snapshots rather than base model names to ensure
 * consistent behavior over time as models are updated.
 */
exports.MODEL_VERSIONS = {
    [exports.OPENAI_MODELS.GPT5Mini]: 'gpt-5-mini-2025-08-07',
};
//# sourceMappingURL=constants.js.map