Add more verbose error messages in embed chat ()

* publish embed updates

* server sided error messages

* publish embed chat widget

* sync submodule

* unset change

* update embed to merged changes for error

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
This commit is contained in:
Sean Hatfield 2024-09-19 09:28:45 -07:00 committed by GitHub
parent b25298c04a
commit b7c7c0db98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions
embed
frontend/public/embed
server/utils/middleware

2
embed

@ -1 +1 @@
Subproject commit 22a0848d58e3a758d85d93d9204a72a65854ea94
Subproject commit 6bd51d251ff1b204d7d88cdda0061df00676386e

File diff suppressed because one or more lines are too long

View file

@ -122,7 +122,8 @@ async function canRespond(request, response, next) {
textResponse: null,
sources: [],
close: true,
error:
error: "Rate limit exceeded",
errorMsg:
"The quota for this chat has been reached. Try again later or contact the site owner.",
});
return;