From 81d60b42922daaa2a87a62da2cfbb9d09933f336 Mon Sep 17 00:00:00 2001 From: Eugen Eisler Date: Sat, 5 Oct 2024 17:53:41 +0200 Subject: [PATCH] feat: Add 'meta' role to store meta info to session, like source of input content. --- core/chatter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/chatter.go b/core/chatter.go index 63087e17..c786cd47 100644 --- a/core/chatter.go +++ b/core/chatter.go @@ -34,7 +34,7 @@ func (o *Chatter) Send(request *common.ChatRequest, opts *common.ChatOptions) (s if o.Stream { channel := make(chan string) go func() { - if streamErr := o.vendor.SendStream(session.Messages, opts, channel); streamErr != nil { + if streamErr := o.vendor.SendStream(session.GetVendorMessages(), opts, channel); streamErr != nil { channel <- streamErr.Error() } }()