feat(ops): make openai token stats optional

This commit is contained in:
Peter
2026-03-13 04:11:58 +08:00
parent 826090e099
commit af9c4a7dd0
10 changed files with 134 additions and 36 deletions

View File

@@ -98,6 +98,7 @@ type OpsAdvancedSettings struct {
IgnoreContextCanceled bool `json:"ignore_context_canceled"`
IgnoreNoAvailableAccounts bool `json:"ignore_no_available_accounts"`
IgnoreInvalidApiKeyErrors bool `json:"ignore_invalid_api_key_errors"`
DisplayOpenAITokenStats bool `json:"display_openai_token_stats"`
AutoRefreshEnabled bool `json:"auto_refresh_enabled"`
AutoRefreshIntervalSec int `json:"auto_refresh_interval_seconds"`
}