mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-04-17 18:18:11 +00:00
Add more verbose error messages in embed chat (#2306)
* 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:
parent
b25298c04a
commit
b7c7c0db98
3 changed files with 5 additions and 4 deletions
2
embed
2
embed
|
@ -1 +1 @@
|
|||
Subproject commit 22a0848d58e3a758d85d93d9204a72a65854ea94
|
||||
Subproject commit 6bd51d251ff1b204d7d88cdda0061df00676386e
|
File diff suppressed because one or more lines are too long
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue