Commit Graph

17 Commits

Author SHA1 Message Date
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
wenliang c227679ccf Fix: Address Copilot review (use slice for suffix removal, remove unused import) 2026-02-13 16:34:51 +08:00
wenliang 960044eb2d Fix: Return empty string for invalid symbol in formatSymbolForTradingView (CodeRabbit feedback) 2026-02-12 12:44:54 +08:00
wenliang 294d0b98e9 Fix: Add symbol format conversion for A-Share/HK stocks in TradingView widgets 2026-02-12 12:37:02 +08:00
Mr. Algorithm bc56a585af feat: Integrate Siray.ai fallback, modernize docs, and migrate users 2026-01-30 00:10:35 +05:30
Mr. Algorithm ff6cfc42f3 added donation 2025-12-13 01:35:52 +05:30
Mr. Algorithm 6341e1a6d5 updated links 2025-10-04 22:10:44 +05:30
Mr. Algorithm 6232cbfa20
Update lib/constants.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-10-04 19:49:07 +05:30
Mr. Algorithm 7c965b022d
Update lib/utils.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-10-04 19:48:41 +05:30
Mr. Algorithm 30aa5d48e8 implemented search 2025-10-04 18:46:22 +05:30
Mr. Algorithm 93ddf55f01
Update lib/nodemailer/index.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-10-04 01:06:12 +05:30
Mr. Algorithm ec8033df06
Update lib/better-auth/auth.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-10-04 01:05:50 +05:30
Mr. Algorithm cf6bfbc6eb implement auth logic 2025-10-04 00:52:13 +05:30
Mr. Algorithm 690a644af1 implemented auth ui and layout 2025-10-02 23:16:08 +05:30
Mr. Algorithm 295a8a1363 Implemented home page with TradingView widgets 2025-09-30 10:13:08 +05:30
Mr. Algorithm 9184e63ebe Implemented header 2025-09-29 13:34:13 +05:30
Mr. Algorithm 0693aad9a7 initial commit 2025-09-28 23:52:33 +05:30