mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e74d423e7a | ||
|
|
5c7cf54d67 |
@@ -158,6 +158,12 @@ function QuillyContent({ error, onDismiss, onNewChat, onOpenModelSelector, onTry
|
|||||||
}],
|
}],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
case error.status === 413:
|
||||||
|
return {
|
||||||
|
message: 'Your request is too large for the AI provider. Try sending a shorter message.',
|
||||||
|
actions: [],
|
||||||
|
};
|
||||||
|
|
||||||
case error.status === 400:
|
case error.status === 400:
|
||||||
return {
|
return {
|
||||||
message: 'The AI provider did not understand the message / data it got. If it persists, try stating a new conversation or using a different model.',
|
message: 'The AI provider did not understand the message / data it got. If it persists, try stating a new conversation or using a different model.',
|
||||||
|
|||||||
Reference in new issue
Block a user