open-agents-ai 0.101.3 → 0.101.4
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/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18270,6 +18270,8 @@ ${newerSummary}` : newerSummary;
|
|
|
18270
18270
|
const content = msg.content;
|
|
18271
18271
|
if (content.startsWith("Error:") || /^(FAIL|ERR!|TypeError|SyntaxError)/i.test(content))
|
|
18272
18272
|
return msg;
|
|
18273
|
+
if (/\bError:|is required|not found|FAIL|permission denied/i.test(content) && content.length < 2e3)
|
|
18274
|
+
return msg;
|
|
18273
18275
|
if (content.length < 500)
|
|
18274
18276
|
return msg;
|
|
18275
18277
|
const toolName = msg.tool_call_id ? toolCallNames.get(msg.tool_call_id) : void 0;
|
package/package.json
CHANGED