- engine.py: process_message ahora incluye model/modelUsage en el dict de retorno (no solo en el evento SSE), para que el camino no-streaming (cronjobs -> _report_usage) reporte el modelo real a consumo_acaicode en vez de "unknown". - Dockerfile: precalentar `uvx mcp-server-fetch` en build (como appuser) para que la cache de uv quede en la imagen y el MCP fetch no se quede sin arrancar por timeout en frio tras un rebuild. - mcp.json: startup_timeout de fetch 15 -> 30s como margen. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
26 lines
623 B
JSON
26 lines
623 B
JSON
{
|
|
"mcpServers": {
|
|
"acai-code": {
|
|
"command": "node",
|
|
"args": ["mcp-server/stdio.js"],
|
|
"env": {
|
|
"LOCAL_SERVER_URL": "http://app:9091"
|
|
},
|
|
"timeout": 30,
|
|
"startup_timeout": 10
|
|
},
|
|
"playwright": {
|
|
"command": "npx",
|
|
"args": ["@playwright/mcp", "--headless", "--isolated", "--executable-path", "/home/appuser/.cache/ms-playwright/chromium-1212/chrome-linux64/chrome"],
|
|
"timeout": 30,
|
|
"startup_timeout": 15
|
|
},
|
|
"fetch": {
|
|
"command": "uvx",
|
|
"args": ["mcp-server-fetch"],
|
|
"timeout": 30,
|
|
"startup_timeout": 30
|
|
}
|
|
}
|
|
}
|