Fresh install chat response not working
Problem:
I've created a fresh install using
npx create-mastra@latest --default -m vscode
Added my OPENAI_API_KEY
and asked in Agents > Weather Agent "whats the weather like in Istanbul"
there is NO OUTPUT to the chat screen
here is the payload and I've added the response as attachment
{
"messages": [
{
"role": "user",
"content": "whats the weather like in Istanbul\n"
}
],
"runId": "weatherAgent",
"modelSettings": {},
"runtimeContext": {},
"threadId": "fa90b09d-efee-4c3b-a133-bb6fdcb1a7dd",
"resourceId": "weatherAgent"
}
I am using WSL with ubuntu 22.04.3 LTS
Node Version v20.10.0
package.json
{
"name": "test-2",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1",
"dev": "mastra dev",
"build": "mastra build",
"start": "mastra start"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "module",
"engines": {
"node": ">=20.9.0"
},
"dependencies": {
"@ai-sdk/openai": "^2.0.47",
"@mastra/core": "^0.20.2",
"@mastra/libsql": "^0.15.1",
"@mastra/loggers": "^0.10.15",
"@mastra/memory": "^0.15.6",
"zod": "^3.25.76"
},
"devDependencies": {
"@types/node": "^24.7.1",
"mastra": "^0.15.1",
"typescript": "^5.9.3"
}
}
12 Replies
I also often experience no chat output after tool calling
Just not yet figured out repro to demonstrate the issue
does it work if you set defaultVNextStreamOptions: {
maxSteps: 10,
}, on your agent?
unfortunately, no
I removed the tool to test this out but it did not work
📝 Created GitHub issue: https://github.com/mastra-ai/mastra/issues/8711
GitHub
[DISCORD:1426159675405242418] Fresh install chat response not worki...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1426159675405242418 Problem: I've created a fresh install using npx create-mastra@latest --default -m ...
Hi @cygnusbass ! The weird thing here is the finishReason
"reason":"unknown", 🤔 Are you able to reproduce this issue systematically? Does it work at all or you get this error only sometimes?I've created 2 seperate fresh installs following the docs and got the same error on both of them. It does not work at all
Hmm, I wonder if that's an issue with WSL, but I can't test that. Are you able maybe test on Windows directly?
yep, same problem in the windows too
Unknown User•2w ago
Message Not Public
Sign In & Join Server To View
@hereAre you guys still running into this issue when using the latest release from yesterday?
I created a new project and I am now getting the error in the attached file
Got it, thanks for trying it out!