@sentry/junior 0.18.0 → 0.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/app.js +1 -1
  2. package/package.json +1 -1
package/dist/app.js CHANGED
@@ -1260,7 +1260,7 @@ function hasCompletedAssistantTurn(messages) {
1260
1260
  continue;
1261
1261
  }
1262
1262
  const stopReason = message.stopReason;
1263
- return typeof stopReason === "string" && stopReason !== "error";
1263
+ return typeof stopReason === "string" && stopReason !== "error" && extractAssistantText(message).trim().length > 0;
1264
1264
  }
1265
1265
  return false;
1266
1266
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior",
3
- "version": "0.18.0",
3
+ "version": "0.18.1",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"