After upgrading to the Mastra versions and AI SDK v5 :
"@mastra/core": "^0.17.1",
"@mastra/langfuse": "^0.0.9",
"@mastra/libsql": "^0.14.2",
"@mastra/loggers": "^0.10.12",
"@mastra/memory": "^0.15.2",
"@mastra/pg": "^0.16.0",
My agents in the workflows keep failing with Error in LLM Execution Step TypeError: terminated. Before upgrading, I never had seen these issues. I am assuming that there is an issue with the model not being able to abide by the output schema. This is weird because I am using the same model I was using before upgrading. It would be great to be able to see the reasoning steps for the agent call to see why the schemas aren't matching, as I do not have any contradictory language in my prompt. Would be great to understand if upgrading caused these issues as well, as it seems unexpected that upgrading the versions would cause something like this.