We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20da963 commit 1118b4fCopy full SHA for 1118b4f
src/Infrastructure/BotSharp.Core/Instructs/Services/InstructService.Execute.cs
@@ -234,6 +234,7 @@ await hook.OnResponseGenerated(new InstructResponseModel
234
// Before code execution
235
foreach (var hook in hooks)
236
{
237
+ await hook.BeforeCompletion(agent, message);
238
await hook.BeforeCodeExecution(agent, message, context);
239
240
// Interrupted by hook
@@ -269,6 +270,7 @@ await hook.OnResponseGenerated(new InstructResponseModel
269
270
// After code execution
271
272
273
+ await hook.AfterCompletion(agent, response);
274
await hook.AfterCodeExecution(agent, response);
275
await hook.OnResponseGenerated(new InstructResponseModel
276
0 commit comments