# -*- coding: utf-8 -*-
# Copyright 2026 Nexa Systems Inc.
# License OPL-1 (Odoo Proprietary License v1.0)

from odoo import fields, models


class ResConfigSettings(models.TransientModel):
    _inherit = 'res.config.settings'

    rc_openai_api_key = fields.Char(
        string='OpenAI API Key',
        config_parameter='fusion_rc.openai_api_key',
        help='Used for automatic voicemail transcription via Whisper.',
    )
