Skip to content

feat: OpenRouter migration + 3 themed dashboards + port data integration#1

Open
fachrynuzuli wants to merge 8 commits into
mainfrom
prototype
Open

feat: OpenRouter migration + 3 themed dashboards + port data integration#1
fachrynuzuli wants to merge 8 commits into
mainfrom
prototype

Conversation

@fachrynuzuli

Copy link
Copy Markdown
Owner
  • Migrate AI from @google/genai SDK to OpenRouter REST API (fetch-based)
  • Intelligent model routing: paid (gemini-2.5-flash-lite) for safety-critical tasks, free (elephant-alpha) for general chat/summaries
  • Create 3 distinct themed dashboards: Elegant Claude, Midnight, Ocean
  • Add typed port operations mock data (equipment, loading rates, fuel, barges, delivery trends)
  • Add 9 new TypeScript interfaces for port data types
  • Add .env.example with OpenRouter API key placeholder
  • Remove @google/genai dependency from importmap
  • Add Midnight theme dark mode CSS overrides

- Migrate AI from @google/genai SDK to OpenRouter REST API (fetch-based)
- Intelligent model routing: paid (gemini-2.5-flash-lite) for safety-critical tasks, free (elephant-alpha) for general chat/summaries
- Create 3 distinct themed dashboards: Elegant Claude, Midnight, Ocean
- Add typed port operations mock data (equipment, loading rates, fuel, barges, delivery trends)
- Add 9 new TypeScript interfaces for port data types
- Add .env.example with OpenRouter API key placeholder
- Remove @google/genai dependency from importmap
- Add Midnight theme dark mode CSS overrides
@fachrynuzuli fachrynuzuli marked this pull request as ready for review April 16, 2026 15:46
@netlify

netlify Bot commented Apr 17, 2026

Copy link
Copy Markdown

Deploy Preview for ai-fds ready!

Name Link
🔨 Latest commit 17f1fae
🔍 Latest deploy log https://app.netlify.com/projects/ai-fds/deploys/69e2f7fca453620007d2e264
😎 Deploy Preview https://deploy-preview-1--ai-fds.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

- Replaced Elephant model with multiple fallback priorities
- Integrated DeepSeek v3.2, Gemini 2.5 Flash Lite, and Minimax m2.5 for premium tier
- Set Kimi k2.5, GLM 4.5 Air, and Gemma 4 for free tier
- Implemented task-specific timeouts (10s for premium, 4s for chat)
- Routed all dashboard buttons to the premium tier to guarantee results
- Added AI routing diagram to docs folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant