Accept pasted images in inbox Other and Reply answers

This commit is contained in:
Ian Gulliver
2026-10-16 22:49:06 -07:00
parent a9bec7a7ea
commit ea90178fce
19 changed files with 579 additions and 469 deletions
+6
View File
@@ -41,6 +41,12 @@ func (s *Server) RespondInbox(w http.ResponseWriter, r *http.Request) {
if !readJSON(w, r, &req) {
return
}
for _, c := range req.Responses {
_, ok := s.images(w, r, c.Images)
if !ok {
return
}
}
items, err := s.agents.Respond(r.Context(), actor(r), req.Responses)
if err != nil {