Merge remote-tracking branch 'origin/pr/578'

This commit is contained in:
fawney19
2026-05-27 02:07:52 +08:00
16 changed files with 371 additions and 13 deletions
+4
View File
@@ -54,6 +54,8 @@ export interface UsageRecordDetail {
id: string
provider?: string // 仅管理员可见
model: string
reasoning_effort?: string | null
service_tier?: string | null
input_tokens: number
effective_input_tokens?: number
output_tokens: number
@@ -351,6 +353,8 @@ export const meApi = {
has_format_conversion?: boolean | null
has_fallback?: boolean | null
target_model?: string | null
reasoning_effort?: string | null
service_tier?: string | null
}>
}> {
const params = ids ? { ids } : {}
+4
View File
@@ -14,6 +14,8 @@ export interface UsageRecord {
provider_id?: string // UUID
provider_name?: string
model: string
reasoning_effort?: string | null
service_tier?: string | null
input_tokens: number
effective_input_tokens?: number
output_tokens: number
@@ -522,6 +524,8 @@ export const usageApi = {
has_format_conversion?: boolean | null
has_fallback?: boolean | null
target_model?: string | null
reasoning_effort?: string | null
service_tier?: string | null
image_progress?: ImageProgress | null
}>
}> {