Commit Graph

2 Commits

Author SHA1 Message Date
root 0ec58caa62 feat: add AI-powered stock analysis with real-time insights
- Add StockAIAnalysisCard component for displaying AI analysis results
- Add stock-analysis server actions and helper utilities
- Integrate Finnhub data into AI analysis pipeline
- Update AI provider with enhanced stock analysis capabilities
- Add Inngest prompt templates for stock analysis
- Wire AI analysis into stock symbol page
- Add unit tests for stock analysis helpers

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-01 17:11:45 +00:00
octopus be46d25807 feat: add MiniMax as alternative LLM provider with provider abstraction
Introduce a configurable AI provider system (lib/ai-provider.ts) that
supports Gemini (default), MiniMax, and Siray.ai with automatic
fallback. The AI_PROVIDER env var selects the primary provider, and
on failure the system falls back to a secondary provider automatically.

- MiniMax M2.7 via OpenAI-compatible API (api.minimax.io/v1)
- Provider abstraction replaces hardcoded Gemini + Siray fallback
- 24 unit tests + 3 integration tests (vitest)
2026-03-20 21:28:24 +08:00