testdriverai 4.2.21 → 4.2.22
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.
- package/agent.js +1 -1
- package/package.json +1 -1
package/agent.js
CHANGED
|
@@ -229,7 +229,7 @@ const dieOnFatal = async (error) => {
|
|
|
229
229
|
// and responds. notice `actOnMarkdown` which will continue
|
|
230
230
|
// the thread until there are no more codeblocks to execute
|
|
231
231
|
const haveAIResolveError = async (error, markdown, depth = 0, undo = true) => {
|
|
232
|
-
if (
|
|
232
|
+
if (error.fatal) {
|
|
233
233
|
return await dieOnFatal(error);
|
|
234
234
|
}
|
|
235
235
|
|