Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
package handler
import (
"errors"
"net/http"
"github.com/multica-ai/multica/server/internal/service"
)
func (h *Handler) writeChatSubmissionError(w http.ResponseWriter, err error) {
if errors.Is(err, service.ErrChatSubmissionConflict) {
writeError(w, http.StatusConflict, service.ErrChatSubmissionConflict.Error())
return
}
writeError(w, http.StatusInternalServerError, "failed to read chat submission receipt")
}