Let the human ignore an open question in a transcript

This commit is contained in:
Ian Gulliver
2026-10-19 16:36:46 -07:00
parent 5f61749e7b
commit d5ce1b3e17
7 changed files with 209 additions and 87 deletions
+9
View File
@@ -36,6 +36,15 @@ func (s *Server) GetInboxItem(w http.ResponseWriter, r *http.Request, itemID str
writeJSON(w, http.StatusOK, item)
}
func (s *Server) DismissInbox(w http.ResponseWriter, r *http.Request, itemID string) {
item, err := s.agents.Dismiss(r.Context(), actor(r), itemID)
if err != nil {
writeAgentError(w, err)
return
}
writeJSON(w, http.StatusOK, item)
}
func (s *Server) RespondInbox(w http.ResponseWriter, r *http.Request) {
req := api.InboxRespond{}
if !readJSON(w, r, &req) {