/**
 * @class AiRequestLog
 * @extends Entity
 * Tracks metadata for every AI provider call. No prompt/response text stored.
 */
class AiRequestLog extends Entity {
    static _name = 'airequestlog';
    static _defaults = {
        provider: '', model: '', status: '',
        error_message: '', duration_ms: 0,
        prompt_tokens: 0, completion_tokens: 0, total_tokens: 0,
        message_count: 0, prompt_chars: 0, completion_chars: 0,
        session_id: 0, endpoint_url: ''
    };
}
