Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

400 error response #136

Merged
merged 3 commits into from
Nov 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web-src/src/components/GenerateButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function GenerateButton() {
.catch((error) => {
switch (error.status) {
case 400:
ToastQueue.negative('The response was filtered due to the prompt triggering Sensei GenAI\'s content management policy. Please modify your prompt and retry.', { timeout: 2000 });
ToastQueue.negative('The response was filtered due to the prompt triggering Generative AI\'s content management policy. Please modify your prompt and retry.', { timeout: 2000 });
break;
default:
ToastQueue.negative('Something went wrong. Please try again!', { timeout: 2000 });
Expand Down