X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/6755f2645bf6bcf8c7cd5b1f3a682a11bf2392f5..d647f33b3e70f9419f6c0740e1d01b210439a519:/compactor.go?ds=sidebyside diff --git a/compactor.go b/compactor.go index ac5fd1d..16303b0 100644 --- a/compactor.go +++ b/compactor.go @@ -68,6 +68,7 @@ func (c *Compactor) Summarize(ctx context.Context, task Task) (string, error) { Instructions: c.instructions, Tools: c.tools, Input: []any{userMessage(parts...)}, + Node: &nodeKey{task.Level, task.Index}, }) if err != nil { break