Skip to content

v0.3.0

Choose a tag to compare

@wang1970 wang1970 released this 26 Apr 09:22
· 475 commits to master since this release

API Switch v0.3.0

Personal Model Cooldown Mechanism

Replaced the complex NEW-API style status code/keyword routing strategy with a simpler "model cooldown" mechanism designed for personal use: if it's not working, cool it down and try the next one.

Core Changes

  • Model Cooldown: Any upstream failure triggers a 300-second cooldown. Cooled models are skipped in routing, and the request fails over to the next available model.
  • Auto-Recovery on Success: A successful request automatically clears the cooldown state.
  • User Controls Are Sacred: The enabled toggle is only controlled by the user. The system never automatically disables an entry �� it only sets cooldown timers.
  • Simplified Strategy: Removed auto-disable status codes, auto-retry status codes, auto-disable keywords, and the 504/524 no-retry hardcode.

New Features

  • API pool status indicators: ?? Normal / ?? Cooling down / ? Disabled
  • "Usage Guide" sidebar menu linking to GitHub documentation
  • Toast notifications replacing alert() dialogs

Improvements

  • Test chat now sends requests directly to the upstream via Tauri command, bypassing the proxy port �� no fallback, no interference
  • Log page: click any row to expand details, removed chevron icons
  • Tray menu auto-refresh on cooldown/recovery/reorder/toggle
  • Database startup compatibility check: auto-add new columns, missing config keys, and migrate old defaults

Upgrade Notes

  • Fully backward compatible �� existing databases are automatically migrated on startup
  • Default cooldown parameters: 1 failure �� 300s cooldown (old default of 4 failures/60s is auto-migrated)
  • Settings page circuit breaker card now only shows "Failure Threshold" and "Recovery Wait Time"