feat: OpenRouter migration + 3 themed dashboards + port data integration#1
Open
fachrynuzuli wants to merge 8 commits into
Open
feat: OpenRouter migration + 3 themed dashboards + port data integration#1fachrynuzuli wants to merge 8 commits into
fachrynuzuli wants to merge 8 commits into
Conversation
fachrynuzuli
commented
Apr 16, 2026
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
…ic UX enhancements
✅ Deploy Preview for ai-fds ready!
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.