fix: 将 UsageRecord.provider 字段改为可选类型

配合 PR #121 后端移除普通用户 API 中的 provider 字段
This commit is contained in:
fawney19
2026-01-23 18:59:21 +08:00
parent cddccd2b99
commit c3be83bf94

View File

@@ -66,7 +66,7 @@ export interface UsageRecord {
name: string | null
display: string | null
} | null
provider: string
provider?: string // 仅管理员可见
api_key_name?: string
rate_multiplier?: number
model: string