This commit is contained in:
IGNY8 VPS (Salman)
2026-01-13 01:23:54 +00:00
parent 78c9cd38e0
commit 47a5a8b1da
10 changed files with 343 additions and 488 deletions

View File

@@ -35,9 +35,13 @@ export interface CreditUsageLog {
operation_type: string;
credits_used: number;
cost_usd: string;
client_cost?: string; // Client-facing cost (credits * price_per_credit)
model_used?: string;
tokens_input?: number;
tokens_output?: number;
related_object_type?: string;
related_object_id?: number;
site_name?: string;
created_at: string;
metadata?: Record<string, any>;
}