Commit Graph

17 Commits

Author SHA1 Message Date
25986dd255 ui: final Gruvbox theme and alignment restore 2026-02-26 18:34:50 -05:00
efb50737bf feat: implement provider credit tracking and balance management
- Added 'credit_balance' and 'low_credit_threshold' to 'provider_configs' table.
- Updated dashboard backend to support reading and updating provider credits.
- Implemented real-time credit deduction from provider balances on successful requests.
- Added visual balance indicators and configuration modal to the 'Providers' dashboard tab.
2026-02-26 18:25:39 -05:00
9b254d50ea ui: apply Gruvbox Dark theme to dashboard and charts 2026-02-26 18:22:19 -05:00
3165aa1859 feat: implement web UI for provider and model configuration
- Added 'provider_configs' and 'model_configs' tables to database.
- Refactored ProviderManager to support thread-safe dynamic updates and database overrides.
- Implemented 'Models' tab in dashboard to manage model visibility, mapping, and pricing.
- Added provider configuration modal to 'Providers' tab.
- Integrated database overrides into chat completion logic (enabled state, mapping, and cost).
2026-02-26 18:13:04 -05:00
c5fb2357ff fix: enable xAI (Grok) by default and improve provider visibility in dashboard
- Set Grok to enabled: true by default.
- Updated AppState to include raw AppConfig.
- Refactored dashboard to show all supported providers, including their configuration and initialization status (online, disabled, or error).
2026-02-26 15:56:29 -05:00
c884abe57d ui: consolidate and fix dashboard CSS alignment and sidebar issues 2026-02-26 15:54:36 -05:00
12008d5d3c feat: implement system settings page in dashboard 2026-02-26 15:52:26 -05:00
e8bcfcf8ab ui: fix alignment issues and improve responsive layout 2026-02-26 15:51:01 -05:00
2c5a6a596b ui: major UX polish and bug fixes for dashboard
- Added global loading spinner and page transitions.
- Improved sidebar with tooltips and persistent collapsed state.
- Fixed chart memory leaks by properly destroying instances on page change.
- Unified WebSocket event handling and status indicators.
- Refined stat cards, tables, and modal interactions.
- Added real backend integration for logout and session management.
2026-02-26 15:48:01 -05:00
b52e0e3af0 fix: include auth.js in dashboard overhaul 2026-02-26 15:40:17 -05:00
686163780c feat: major dashboard overhaul and polish
- Switched from mock data to real backend APIs.
- Implemented unified ApiClient for consistent frontend data fetching.
- Refactored dashboard structure and styles for a modern SaaS aesthetic.
- Fixed Axum 0.8+ routing and parameter syntax issues.
- Implemented real client creation/deletion and provider health monitoring.
- Synchronized WebSocket event structures between backend and frontend.
2026-02-26 15:40:12 -05:00
888b0e71c4 fix: update Axum route parameters to use {id} syntax for Axum 0.8 compatibility 2026-02-26 15:25:03 -05:00
f0435e4575 fix: resolve Axum 0.8 panic by removing root nesting and using fallback_service 2026-02-26 15:19:38 -05:00
99304b681c fix: use explicit SqliteConnectOptions with create_if_missing(true) to fix database connection issues in some environments 2026-02-26 15:13:45 -05:00
242c670855 fix: allow comma-separated strings for list config fields in environment variables 2026-02-26 15:07:00 -05:00
3aaa309d38 feat: enforce master token authentication and reasoning support
- Added strict token validation against LLM_PROXY__SERVER__AUTH_TOKENS.
- Integrated 'reasoning_content' support into providers and server responses.
- Updated AppState to carry valid auth tokens for request-time validation.
2026-02-26 14:12:51 -05:00
1755075657 chore: initial clean commit 2026-02-26 13:56:21 -05:00