package com.smyhub.infogenie.infogeniebackendjava.dto.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * Response for GET /api/admin/site/ai-runtime.
 * The api_key field is masked to show only the last 4 characters.
 */
@Data
public class AIRuntimeResponse {

    @JsonProperty("api_base")
    private String apiBase;

    /** Masked: "****xxxx" — never returns the raw key. */
    @JsonProperty("api_key_hint")
    private String apiKeyHint;

    @JsonProperty("default_model")
    private String defaultModel;

    @JsonProperty("default_provider")
    private String defaultProvider;

    @JsonProperty("updated_at")
    private String updatedAt;
}
