fix(ci): add missing fields to pass frontend typecheck and contract test

- Add `service_quota_enabled` to PublicSettings default in app.ts
- Add `image_output_tokens` and `image_output_cost` to usage contract test
This commit is contained in:
erio
2026-06-05 17:55:22 +08:00
parent 1e2e8b1d6b
commit b8c89c34d8
2 changed files with 3 additions and 0 deletions
@@ -581,6 +581,8 @@ func TestAPIContracts(t *testing.T) {
"image_size": null,
"image_input_size": null,
"image_output_size": null,
"image_output_tokens": 0,
"image_output_cost": 0,
"image_size_source": null,
"image_size_breakdown": null,
"media_type": null,
+1
View File
@@ -358,6 +358,7 @@ export const useAppStore = defineStore('app', () => {
channel_monitor_default_interval_seconds: 60,
available_channels_enabled: false,
risk_control_enabled: false,
service_quota_enabled: false,
affiliate_enabled: false,
}
}