Commit graph

26 commits

Author SHA1 Message Date
decolua
d9b8e48725 feat: OpenAI compatibility improvements & build fixes
- Fix hydration mismatches and initialization errors
- Add /v1/models endpoint for OpenAI clients
- Add Codex response translator (Responses → OpenAI)
- Fix circular dependencies and PropTypes
- Add Material Symbols font and CSS fixes
- Update README with deployment guide

Co-merged from PR #18 (14/15 commits, skipped debug)
2026-01-20 13:16:34 +07:00
apeltekci
0848dd5d13 chore: fix build warnings, add deployment config, and cleanup lint errors
- Fix React Hook dependencies and Image optimization warnings
- Add DATA_DIR and INITIAL_PASSWORD env var support
- Fix Tailwind v4 legacy syntax and suppress CSS directives warnings
- Add PropTypes and remove unused variables
2026-01-20 12:58:51 +07:00
decolua
e6ca119f5e Fix combo fallback 2026-01-19 23:01:39 +07:00
decolua
3804357aba Added Usage page. 2026-01-19 10:39:30 +07:00
decolua
6b22b1f490 Fix Kiro token refresh logic 2026-01-16 12:39:03 +07:00
decolua
26b61e5fbb Feat Kiro OAuth, Fix Codex 2026-01-15 18:29:47 +07:00
decolua
c208f244ee Enhance chat handling. 2026-01-14 15:42:38 +07:00
decolua
c39eca6d4e Fix Combo 2026-01-14 14:55:47 +07:00
decolua
f46ff42cb3 refactor: streamline provider interactions and enhance error handling 2026-01-11 21:45:01 +07:00
Catalin Stanciu
f302c88dfb feat(ui): add cost tracking to usage dashboard and pricing settings
- Add toggle view (Tokens/Costs) to UsageStats component
- Display cost breakdown in usage tables
- Add Total Cost card combined with Total Output Tokens
- Create PricingModal component for editing rates
- Create Pricing Settings page

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 17:49:59 +07:00
Catalin Stanciu
a36afaa85e feat(usage): implement cost tracking backend and pricing configuration
- Add pricing constants with default rates for all providers
- Update localDb to support pricing configuration schema
- Add cost calculation logic to usageDb
- Add pricing management API endpoints
- Fix provider alias mapping for accurate cost lookups

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 17:48:42 +07:00
Catalin Stanciu
3ad2f8dc58 fix: prevent race conditions in sticky round-robin
Adds a mutex to serialize account selection and updates in the
proxy engine. This ensures that concurrent requests respect the
sticky limit and don't distribute to the same account simultaneously.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 17:46:52 +07:00
Catalin Stanciu
4f292aae63 feat: add sticky round-robin routing strategy
Implements a "sticky" round-robin strategy that uses the same provider
account for a configurable number of consecutive calls (default 3)
before switching to the next one. This optimizes for prompt caching
by reducing organization/account rotation. Adds a configuration input
to the Profile settings page.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 17:45:32 +07:00
Catalin Stanciu
f2abcc6585 feat: implement provider connection reordering on create, update, and delete 2026-01-09 17:42:53 +07:00
Catalin Stanciu
ed796d2724 feat: add enable/disable toggle for provider connections
Implements an isActive toggle in the ProviderDetailPage that allows users
to enable or disable specific provider connections. Updates the UI to
provide visual feedback for disabled connections.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 17:41:30 +07:00
decolua
e4769070b3 feat: add request logging functionality and usage metrics display 2026-01-09 17:40:59 +07:00
Catalin Stanciu
e4f92cd104 feat: implement request tracking and enhance usage stats display 2026-01-09 17:37:10 +07:00
Catalin Stanciu
7f71916f9e fix: improve code formatting and reduce auto-refresh interval 2026-01-09 17:35:28 +07:00
decolua
23cfb19459 feat: add password change functionality and dependencies 2026-01-09 17:29:11 +07:00
Catalin Stanciu
bf6e09bb6f feat: enhance usage stats with sortable columns and improved data handling 2026-01-09 17:26:50 +07:00
Catalin Stanciu
9ebd7d3062 feat: add round-robin routing strategy
Implements a round-robin (least recently used) account selection strategy
alongside the existing fill-first priority system. Adds a toggle in the
Profile dashboard to switch between strategies.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 17:25:28 +07:00
Catalin Stanciu
9c3d6f4ad8 feat: implement usage tracking for AI requests
Adds local token usage tracking for all AI providers. Usage data is
captured during stream processing and stored in a local database.
Includes a new Usage tab in the Providers dashboard to visualize
historical token consumption.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 17:23:28 +07:00
decolua
18533505ef refactor: restructure translator from from-openai/to-openai to request/response folders 2026-01-09 17:14:51 +07:00
decolua
23181afb63 ReadMe 2026-01-05 15:55:56 +07:00
decolua
eb4c7093a4 Redirect to /dashboard 2026-01-05 11:07:43 +07:00
decolua
3857598de4 Initial commit 2026-01-05 09:58:59 +07:00