@anvia/studio 0.7.44 → 0.7.46
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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -3231,7 +3231,7 @@ function handleStreamingAgentRun(c, run, props) {
|
|
|
3231
3231
|
props.questionRuntime.createHook(questionContext)
|
|
3232
3232
|
);
|
|
3233
3233
|
if (effectiveHook !== void 0) {
|
|
3234
|
-
run.request.
|
|
3234
|
+
run.request.withHook(effectiveHook);
|
|
3235
3235
|
}
|
|
3236
3236
|
const runStream = mergeRunAndApprovalEvents(run.request.stream(), runtimeEvents);
|
|
3237
3237
|
let stream = runStream;
|
|
@@ -3308,7 +3308,7 @@ async function startBufferedSessionRun(run, props) {
|
|
|
3308
3308
|
if (run.body.metadata !== void 0) approvalContext.metadata = run.body.metadata;
|
|
3309
3309
|
run.request.approvals(props.approvalRuntime.createApprovals(approvalContext));
|
|
3310
3310
|
if (effectiveHook !== void 0) {
|
|
3311
|
-
run.request.
|
|
3311
|
+
run.request.withHook(effectiveHook);
|
|
3312
3312
|
}
|
|
3313
3313
|
}
|
|
3314
3314
|
async function completeBufferedSessionRun(run, response) {
|