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 +1 -1
- package/src/agent/executor.js +2 -2
- package/src/llm/base.js +1 -1
- package/src/store/store.js +0 -2
- package/src/transport/nats.js +1 -1
package/package.json
CHANGED
package/src/agent/executor.js
CHANGED
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
withRetry
|
|
8
8
|
} from '../errors/index.js';
|
|
9
9
|
|
|
10
|
-
const DEFAULT_TOOL_TIMEOUT =
|
|
11
|
-
const DEFAULT_LLM_TIMEOUT =
|
|
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.
|
|
86
|
+
logger.info(`Executing tool from ${this.type}`, {
|
|
87
87
|
toolName: name,
|
|
88
88
|
argsPreview: JSON.stringify(args).substring(0, 100)
|
|
89
89
|
});
|
package/src/store/store.js
CHANGED
|
@@ -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
|
}
|