Seeing this error message
I am invoking the mastracode package through a tool. I have used this in other multistep workflows and agents and run it a few days back. Everything worked fine. Only now am I seeing this error and I have no idea what I can do.
Here are my dependencies
"dependencies": {
"@ai-sdk/openai": "^2.0.60",
"@mastra/core": "^1.1.0",
"@mastra/evals": "^1.0.1",
"@mastra/libsql": "^1.1.0",
"@mastra/loggers": "^1.0.1",
"@mastra/mcp": "^1.0.0",
"@mastra/memory": "^1.0.1",
"@mastra/observability": "^1.1.0",
"@mastra/rag": "^2.1.0",
"@types/bcryptjs": "^2.4.6",
"@types/jsonwebtoken": "^9.0.10",
"ai": "^5.0.0",
"axios": "^1.13.2",
"bcryptjs": "^3.0.3",
"jsonwebtoken": "^9.0.3",
"mastracode": "^0.4.0",
"neo4j-driver": "^6.0.1",
"sanitize-html": "^2.17.1",
"simple-git": "^3.27.0",
"zod": "^4.1.12"
},
Here is the tool that wraps mastracode. This is being invoked by an agent:
I am not using gpt-5.1-codex-mini anywhere, but explicitly setting it to openai/gpt-5.3-codex in mastracode harness.
Thanks in advance!