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.
- package/Agent.js +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,
|
|
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('
|
|
454
|
+
emitter.emit('tools_auth', {thread, functions: functions_to_call, completion, emitter});
|
|
455
455
|
return {type: 'void'};
|
|
456
456
|
}
|
|
457
457
|
|