]> git.giacomolli.uk - onechat/blobdiff - socket.go
Give each subagent its own prompt cache key
[onechat] / socket.go
index a454728b1ba347d845454788a02f85b56874843b..36d664157ed8175085b02512c9435343ee16eea5 100644 (file)
--- a/socket.go
+++ b/socket.go
@@ -30,7 +30,7 @@ func checkSocketPath(path string) error {
 }
 
 // SocketRequest is one line from a client: "send" with the text of a user
 }
 
 // SocketRequest is one line from a client: "send" with the text of a user
-// message, or "interrupt".
+// message, "interrupt", or "stop" with the name of a subagent in Text.
 type SocketRequest struct {
        Type string `json:"type"`
        Text string `json:"text,omitempty"`
 type SocketRequest struct {
        Type string `json:"type"`
        Text string `json:"text,omitempty"`