Skip to content

Commit 91cd150

Browse files
author
aden.chen
committed
Revert "Add null-check for agent in StreamingLogHook"
This reverts commit 3dda7af.
1 parent 1de8953 commit 91cd150

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Plugins/BotSharp.Plugin.ChatHub/Hooks/StreamingLogHook.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ public override async Task OnBreakpointUpdated(string conversationId, bool reset
293293
var routing = _services.GetRequiredService<IRoutingService>();
294294
var agentId = routing.Context.GetCurrentAgentId();
295295
var agent = await _agentService.GetAgent(agentId);
296-
if (agent == null) return;
296+
297297
var input = new ContentLogInputModel()
298298
{
299299
Name = agent.Name,

0 commit comments

Comments
 (0)