Propuesta IA: cliente MiniMax con tool-calling y reintentos

El contrato se fuerza con el input_schema de la herramienta porque MiniMax no
soporta structured outputs. tool_choice no se envia: fijarlo solo en el reintento
le daria un prefijo distinto y se pagaria el contexto completo.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
urieljareth
2026-07-28 18:14:02 -06:00
co-authored by Claude Opus 5
parent 5bad273977
commit 877a181a03
5 changed files with 284 additions and 1 deletions
+1
View File
@@ -16,6 +16,7 @@
"seed": "npx tsx prisma/seed.ts"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.115.0",
"@prisma/adapter-pg": "^7.8.0",
"@prisma/client": "^7.8.0",
"bcryptjs": "^3.0.3",