27 Commits
Author SHA1 Message Date
Zebratic 71cb4d3f72 feat: integrate Pulse Analytics tracking for LLM Proxy
- Add Pulse Analytics script tag to root layout (data-domain=llm.xmr.network)
- Add server-side tracking for successful API calls (chat completions,
  completions, embeddings) via /api/track/server endpoint
- Add lib/pulse.ts tracking utility (fire-and-forget)
2026-03-20 13:12:05 +00:00
Zebratic 401a0ba0d7 feat: add /v1/audio/speech endpoint with API key auth 2026-03-18 04:29:32 +00:00
Zebratic 94b86e92ca feat: show Mosaic in dashboard model dropdowns (playground + models list) 2026-03-18 01:51:19 +00:00
Zebratic 9c9ff51b87 fix: support x-api-key header in Anthropic messages endpoint (Claude Code compat)
Claude Code sends x-api-key instead of Authorization Bearer. Now accepts both.
2026-03-18 01:31:58 +00:00
Zebratic 4c222c036a fix: Anthropic streaming - correct stop_reason and add content_block_start/stop for text
- stop_reason now correctly returns 'end_turn' for non-tool responses (was always 'tool_use')
- Added content_block_start event before first text delta
- Added content_block_stop event for text blocks
- Fixes Claude Code compatibility
2026-03-18 01:26:45 +00:00
Zebratic ffbcdf753b feat: add Mosaic support to Anthropic Messages handler (Claude Code compatibility)
- Mosaic routing in /v1/messages endpoint
- Identity injection for Anthropic-format requests
- Model field masking in both streaming and non-streaming Anthropic responses
- Analytics logged as logicalModelId='mosaic'
2026-03-18 01:17:27 +00:00
Zebratic 8f37b3cd4f feat: add Mosaic virtual model - smart multi-provider routing with identity protection
- Mosaic router: dynamically selects best backend model based on prompt complexity, size, and tool usage
- Identity injection: system prompt ensures model always identifies as Mosaic
- Response masking: model field rewritten to 'mosaic' in both streaming and non-streaming responses
- Analytics: logicalModelId='mosaic' for user stats, providerModelId tracks actual backend
- Models list: mosaic appears in /v1/models endpoint
- Backends: claude-opus-4-6, gpt-5.4, gpt-4.1, claude-sonnet-4-6, gpt-4o, deepseek-chat
2026-03-18 00:12:30 +00:00
Zebratic b229d873ef Revert "Integrate Mosaic model logic and update configuration for Claude Code"
This reverts commit 248fc1f824.
2026-03-17 23:57:03 +00:00
Zebratic 248fc1f824 Integrate Mosaic model logic and update configuration for Claude Code 2026-03-17 23:52:24 +00:00
Zebratic 9252feffe0 Fix: retry on upstream credit errors, fix model field in request logs 2026-03-17 21:06:59 +00:00
Zebratic c04ec83a63 feat: add VIDEO model type support (generation, UI, admin) 2026-03-16 13:36:49 +00:00
Zebratic e8c94f4222 feat: hide fine-tuned models, add provider icons to model picker 2026-03-14 21:37:26 +00:00
Zebratic cdb9ede4da fix: allow missing referer in demo-chat (Cloudflare strips it) 2026-03-14 21:30:56 +00:00
Zebratic 7f9df9b9af feat: admin dashboard with charts, revenue, top models 2026-03-14 21:11:08 +00:00
Zebratic 3fc802dc76 feat: inline hero chat demo with JS challenge bot protection 2026-03-14 21:09:23 +00:00
Zebratic e62419652d feat: redesign auth pages to match landing page theme 2026-03-14 21:07:58 +00:00
Zebratic c0ec2a8cbb feat: how-it-works page + per-tool setup guides 2026-03-14 20:51:05 +00:00
Zebratic db87ac01e1 feat: landing page overhaul - hero stats, live chat demo, quick start, rate comparison 2026-03-14 20:49:38 +00:00
Zebratic 8b0b225eb2 feat: landing page overhaul - live demo, stats, quick start, comparison, how-it-works 2026-03-14 20:45:31 +00:00
Zebratic a0187134e1 fix: replace AI-generated provider icons with real brand SVGs
OpenAI, Anthropic: already correct (simple-icons)
xAI: replaced with real X logo from simple-icons
DeepSeek: real whale logo from deepseek.com favicon
Perplexity: real logo from simple-icons
ElevenLabs: real logo from simple-icons
Added Google Gemini logo
2026-03-14 20:40:17 +00:00
Zebratic 9194ef9d11 fix: eslint no-explicit-any in api-key-auth ObjectId cast 2026-03-14 18:45:01 +00:00
Zebratic dd089d016c fix: handle ObjectId/string mismatch in API key auth
userId stored as string in api_keys/subscriptions but as ObjectId in
users collection. Now tries both formats for lookups.
2026-03-14 18:34:50 +00:00
Zebratic e1c4137b6b fix: convert string IDs to ObjectId for MongoDB lookups
Fixes dashboard crash when subscription.plan is null due to string vs ObjectId mismatch
2026-03-14 11:10:02 +00:00
Zebratic 79d0cfe0a0 Redesign landing page, update pricing plans
- Epic landing page with animated gradient mesh background, bento grid features,
  count-up stats, animated code block, how-it-works section, and columned footer
- New pricing: Pro (9), Max (9, highlighted), Unlimited (9) — no free tier
- Updated seed script with new plans (removes free/enterprise)
- Updated standalone /pricing page to match
- All mobile-first and responsive
2026-03-14 10:03:27 +00:00
Zebratic c34a1a7a78 fix: convert MongoDB ObjectId to string in normalizeDocument
Fixes admin/users/[object Object] 404 when clicking View on users
2026-03-14 09:56:23 +00:00
Zebratic 6dd13507a7 Redesign landing page: mobile-first, pricing section, responsive nav 2026-03-14 09:46:59 +00:00
Zebratic 348de00c3a feat: add Dockerfile and standalone output for Coolify deployment
- Dockerfile with multi-stage build (deps, build, runner)
- Standalone output for minimal Docker image
- .dockerignore to exclude unnecessary files
- Added react-is dependency for recharts
2026-03-14 04:53:44 +00:00