Skip to content

v0.5.0

Choose a tag to compare

@Oaklight Oaklight released this 12 Apr 10:15
· 244 commits to master since this release

What's Changed

Added

  • Gateway Admin Panel: Built-in web admin panel at /admin/ for managing gateway configuration, monitoring traffic, and inspecting request logs — no config file editing or server restarts needed
    • Configuration tab: Visual management of providers (add, edit, rename, delete) and model routing with capabilities (text/vision/tools)
    • Dashboard tab: Real-time metrics with summary cards (total requests, error rate, active streams, uptime), rolling 60-second throughput and latency charts, per-provider breakdown
    • Request Log tab: Filterable request log with model, provider, and status filters, paginated view with color-coded status codes
    • 8 themes: Light, Indigo Dark, Dracula, Nord, Solarized, Osaka Jade, One Dark, Rosé Pine
    • i18n: English and Chinese language support
  • File-based persistence: Metrics counters (JSON) and request log (JSONL) automatically saved to disk alongside the config file. Data survives server restarts. Log rotation with gzip compression (2 MB limit, 3 backups)
  • Provider rename: Renaming a provider automatically updates all model routing references
  • API key security: Masked keys on provider cards, reveal-on-demand with visibility toggle and copy button in edit modal

Changed

  • Provider names decoupled from API standard types: Provider names are now user-defined strings (e.g. "my-openai", "OpenRouter_anthropic") with a separate type field for the API standard (openai_chat, openai_responses, anthropic, google)
  • Extracted write_config() to config.py for shared use by CLI and admin panel

Full Changelog: v0.4.2...v0.5.0