feat: migrar texto/imagem/música para MiniMax M3 + image-01 + music-2.0

- Adiciona helper callMinimax() para simplificar chamadas de texto
- Chat principal: M3 primário (não-streaming com SSE adaptado)
- Intent detector: M3 → OpenRouter → Groq (cascata)
- Smart Report: M3 primário → OpenRouter → Groq (cascata)
- Compilar Relatório: M3 primário → OpenRouter → Gemini (cascata)
- Resumo de observações: M3 direto
- Imagem: M3 reescreve prompt + MiniMax image-01 nativo
- Música: M3 compõe letra/estilo + MiniMax music-2.0 nativo
- Vídeo: MANTIDO no OpenRouter (MiniMax bloqueado no plano Starter)
- Adiciona MINIMAX_MODEL=MiniMax-M3 no .env
This commit is contained in:
2026-06-03 02:44:17 +00:00
parent c966be7ed4
commit e41e3b6cbf
2 changed files with 357 additions and 275 deletions
+1
View File
@@ -12,3 +12,4 @@ GOOGLE_AI_API_KEY=AIzaSyACelmI6-Bxc7TZ0sAzzgLd_F8VBexOjcQ
GOOGLE_AI_MODEL=gemini-2.5-flash
DATABASE_URL=postgresql://postgres:Xz0oyb6ArGYG5uAVTVwcvJxRrMuT7EIJ@supabase-db-h0oggskgs0ws0sco8kc4s8ws:5432/postgres
MINIMAX_MODEL=MiniMax-M3