diff --git a/pkg/agent/pipeline_execute.go b/pkg/agent/pipeline_execute.go index e1e4ef04a..48e72e096 100644 --- a/pkg/agent/pipeline_execute.go +++ b/pkg/agent/pipeline_execute.go @@ -135,7 +135,7 @@ toolLoop: AgentID: ts.agent.ID, SessionKey: ts.sessionKey, Scope: outboundScopeFromSessionScope(ts.opts.Dispatch.SessionScope), - Parts: parts, + Parts: parts, } if al.channelManager != nil && ts.channel != "" && !constants.IsInternalChannel(ts.channel) { if err := al.channelManager.SendMedia(ctx, outboundMedia); err != nil { diff --git a/pkg/channels/manager_test.go b/pkg/channels/manager_test.go index 09f589183..273c90468 100644 --- a/pkg/channels/manager_test.go +++ b/pkg/channels/manager_test.go @@ -118,7 +118,7 @@ func (m *mockStreamer) Cancel(context.Context) {} type mockStreamingChannel struct { mockMessageEditor - streamer Streamer + streamer Streamer resolveChatIDFn func(chatID string, outboundCtx *bus.InboundContext) string }