]> git.giacomolli.uk - onechat/blobdiff - compactor.go
Record the subagent name in the usage records
[onechat] / compactor.go
index c0d1a9c78b95b47c4a92aed51b902310ba475800..5e73cfac30197ebf28ccb16dd2e30b140b8e3f24 100644 (file)
@@ -74,7 +74,7 @@ func (c *Compactor) Summarize(ctx context.Context, task Task) (string, error) {
                        Instructions: instructions,
                        Tools:        c.tools,
                        Input:        []any{modelUserMessage(parts...)},
-                       Node:         &nodeKey{task.Level, task.Index},
+                       Node:         &NodeKey{task.Level, task.Index},
                })
                if err != nil {
                        break