• Ethan0x0000's avatar
    feat(api): expose model_source filter in dashboard endpoints · 56fcb20f
    Ethan0x0000 authored
    Add model_source query parameter to GetModelStats and GetUserBreakdown handlers with explicit IsValidModelSource validation. Include model_source in cache key to prevent cross-source cache hits. Expose upstream_model in usage log DTO with omitempty semantics.
    56fcb20f
mappers.go 21.4 KB