package com.ssyf.third.doubao;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 豆包AI配置属性
 */
@Data
@Component
@ConfigurationProperties(prefix = "doubao")
public class DoubaoProperties {
    
    /**
     * API密钥
     */
    private String apiKey;
    
    /**
     * API端点URL
     */
    private String endpoint = "https://ark.cn-beijing.volces.com/api/v3/responses";
    
    /**
     * 请求超时时间（毫秒）
     */
    private int timeout = 30000;
    
    /**
     * 模型名称
     */
    private String model = "doubao-seed-1-6-flash-250828";
    
    /**
     * 是否启用服务
     */
    private boolean enabled = true;
}