symposium 1.2.12 → 1.2.13

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.
Files changed (2) hide show
  1. package/Agent.js +2 -2
  2. package/package.json +1 -1
package/Agent.js CHANGED
@@ -430,7 +430,7 @@ export default class Agent {
430
430
  }
431
431
  }
432
432
 
433
- async confirmFunctions(thread, completion, functions, emitter) {
433
+ async confirmFunctions({thread, functions, completion, emitter}) {
434
434
  const response = await this.callFunctions(thread, emitter, completion, functions, true);
435
435
  if (response.continue)
436
436
  return this.execute(thread, emitter);
@@ -451,7 +451,7 @@ export default class Agent {
451
451
  }
452
452
 
453
453
  if (!is_authorized) {
454
- emitter.emit('tool_auth', {thread, functions: functions_to_call, completion, emitter});
454
+ emitter.emit('tools_auth', {thread, functions: functions_to_call, completion, emitter});
455
455
  return {type: 'void'};
456
456
  }
457
457
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "symposium",
4
- "version": "1.2.12",
4
+ "version": "1.2.13",
5
5
  "description": "Agents",
6
6
  "main": "index.js",
7
7
  "author": "Domenico Giambra",