Bug Fixes
Fix: Proxy requests hang when system proxy is configured (#180)
All HTTP calls to the localhost management API (127.0.0.1) now bypass the system proxy. Previously, reqwest would route local requests through the user's configured system proxy, causing Gemini verification and other operations to hang or return 502.
15 calls fixed across 6 files: models.rs, health.rs, proxy.rs, auth.rs, usage.rs, copilot.rs. External API calls (quota fetching, provider testing) are unaffected and continue to respect system proxy settings.
Fix: Estimated cost resets after app restart (#172)
Usage statistics (total cost, tokens) no longer reset to zero when the app restarts. The sync function was overwriting all-time totals with current session data — on restart, session counters start at zero, which zeroed out the persisted history.
Fixed by using max() to ensure all-time totals never decrease, and using the persisted aggregate as the source of truth for dashboard KPIs instead of live session data.