agentnet 0.1.30 → 0.1.31

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentnet",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "type": "module",
5
5
  "description": "Agent library used by Smartness",
6
6
  "main": "src/index.js",
@@ -238,7 +238,7 @@ export async function build(
238
238
  }
239
239
  }
240
240
 
241
- if (run >= maxRuns) {
241
+ if (run > maxRuns) {
242
242
  logger.warn(`Agent ${agentName} max over runs reached: ${run}/${maxRuns}`);
243
243
  api.resetCalledTools();
244
244
  const rawConversation = contents.getRawConversation();