agentnet 0.0.5 → 0.0.7

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.0.5",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "description": "Agent library used by Smartness",
6
6
  "main": "src/index.js",
@@ -7,8 +7,8 @@ import {
7
7
  withRetry
8
8
  } from '../errors/index.js';
9
9
 
10
- const DEFAULT_TOOL_TIMEOUT = 30000; // 30 seconds
11
- const DEFAULT_LLM_TIMEOUT = 60000; // 60 seconds
10
+ const DEFAULT_TOOL_TIMEOUT = 120000;
11
+ const DEFAULT_LLM_TIMEOUT = 120000;
12
12
 
13
13
  /**
14
14
  * Emits an event to the hooks system if hooks are available
package/src/llm/base.js CHANGED
@@ -83,7 +83,7 @@ export class BaseLLM {
83
83
  * @returns {Promise<any>} Result of the tool execution
84
84
  */
85
85
  async executeToolCall(toolCall, name, args, state, toolsAndHandoffsMap) {
86
- logger.debug(`Executing tool from ${this.type}`, {
86
+ logger.info(`Executing tool from ${this.type}`, {
87
87
  toolName: name,
88
88
  argsPreview: JSON.stringify(args).substring(0, 100)
89
89
  });
@@ -191,12 +191,10 @@ export function memoryStore () {
191
191
  connect: async function () {},
192
192
  disconnect: async function () {},
193
193
  set: async function (key, value) {
194
- console.log('Setting state', key, value)
195
194
  state[key] = value
196
195
  return state[key]
197
196
  },
198
197
  get: async function (key) {
199
- console.log('Getting state', key)
200
198
  return state[key] || null
201
199
  }
202
200
  }
@@ -14,7 +14,7 @@ import {
14
14
 
15
15
  // Constants
16
16
  const HEARTBEAT_INTERVAL = 1000;
17
- const TIMEOUT_TASK_REQUEST = 60000;
17
+ const TIMEOUT_TASK_REQUEST = 120000;
18
18
 
19
19
  /**
20
20
  * NATS implementation of the Transport interface