openstock/lib
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
..
actions feat: Integrate Siray.ai fallback, modernize docs, and migrate users 2026-01-30 00:10:35 +05:30
better-auth Update lib/better-auth/auth.ts 2025-10-04 01:05:50 +05:30
inngest feat: add MiniMax as alternative LLM provider with provider abstraction 2026-03-20 21:28:24 +08:00
nodemailer added donation 2025-12-13 01:35:52 +05:30
ai-provider.ts feat: add MiniMax as alternative LLM provider with provider abstraction 2026-03-20 21:28:24 +08:00
constants.ts feat: Integrate Siray.ai fallback, modernize docs, and migrate users 2026-01-30 00:10:35 +05:30
kit.ts feat: Integrate Siray.ai fallback, modernize docs, and migrate users 2026-01-30 00:10:35 +05:30
utils.ts Fix: Address Copilot review (use slice for suffix removal, remove unused import) 2026-02-13 16:34:51 +08:00