const buildKimiChatCompletionParams = (input)=>{
    const { midsceneDefaults, userConfig } = input;
    const { reasoningEnabled } = userConfig;
    const effectiveReasoningEnabled = reasoningEnabled ?? false;
    const commonOverrideConfig = {};
    commonOverrideConfig.temperature = void 0;
    const modelSpecificConfig = {
        thinking: {
            type: effectiveReasoningEnabled ? 'enabled' : 'disabled'
        }
    };
    return {
        config: {
            ...midsceneDefaults,
            ...commonOverrideConfig,
            ...modelSpecificConfig
        }
    };
};
const kimiAdapters = {
    kimi: {
        chatCompletion: {
            unsupportedUserConfig: [
                'reasoningEffort',
                'reasoningBudget'
            ],
            buildChatCompletionParams: buildKimiChatCompletionParams
        },
        locate: {
            resultAdapter: {
                coordinates: {
                    shape: 'point',
                    order: 'xy',
                    normalizedBy: 1
                }
            }
        }
    }
};
export { kimiAdapters };

//# sourceMappingURL=kimi.mjs.map