Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Sources/CodexBar/SettingsStore+TokenCost.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ extension SettingsStore {
}

func applyTokenCostDefaultIfNeeded() {
// Tests cover detection directly; skip filesystem-driven auto-enablement to keep startup deterministic.
guard !Self.isRunningTests else { return }
// Settings are persisted in UserDefaults.standard.
guard UserDefaults.standard.object(forKey: "tokenCostUsageEnabled") == nil else { return }

Expand Down