Update the rebranding and fix issues
This commit is contained in:
@@ -23,7 +23,7 @@ export function ChatErrorBox({
|
||||
{error}
|
||||
<span className="ml-1">
|
||||
<ExternalLink
|
||||
href="https://moreminimore.com/pro?utm_source=dyad-app&utm_medium=app&utm_campaign=free-quota-error"
|
||||
href="https://MoreMinimore.com/pro?utm_source=dyad-app&utm_medium=app&utm_campaign=free-quota-error"
|
||||
variant="primary"
|
||||
>
|
||||
Access with MoreMinimore Pro
|
||||
@@ -51,13 +51,13 @@ export function ChatErrorBox({
|
||||
{error}
|
||||
<div className="mt-2 space-y-2 space-x-2">
|
||||
<ExternalLink
|
||||
href="https://moreminimore.com/pro?utm_source=dyad-app&utm_medium=app&utm_campaign=rate-limit-error"
|
||||
href="https://MoreMinimore.com/pro?utm_source=dyad-app&utm_medium=app&utm_campaign=rate-limit-error"
|
||||
variant="primary"
|
||||
>
|
||||
Upgrade to MoreMinimore Pro
|
||||
</ExternalLink>
|
||||
|
||||
<ExternalLink href="https://moreminimore.com/docs/help/ai-rate-limit">
|
||||
<ExternalLink href="https://MoreMinimore.com/docs/help/ai-rate-limit">
|
||||
Troubleshooting guide
|
||||
</ExternalLink>
|
||||
</div>
|
||||
@@ -71,7 +71,7 @@ export function ChatErrorBox({
|
||||
<span>
|
||||
Looks like you don't have a valid MoreMinimore Pro key.{" "}
|
||||
<ExternalLink
|
||||
href="https://moreminimore.com/pro?utm_source=dyad-app&utm_medium=app&utm_campaign=invalid-pro-key-error"
|
||||
href="https://MoreMinimore.com/pro?utm_source=dyad-app&utm_medium=app&utm_campaign=invalid-pro-key-error"
|
||||
variant="primary"
|
||||
>
|
||||
Upgrade to MoreMinimore Pro
|
||||
@@ -101,7 +101,7 @@ export function ChatErrorBox({
|
||||
//
|
||||
// We are matching "Fallbacks=[{" and not just "Fallbacks=" because the fallback
|
||||
// model itself can error and we want to include the fallback model error in the error message.
|
||||
// Example: https://github.com/dyad-sh/dyad/issues/1849#issuecomment-3590685911
|
||||
// Example: https://github.com/kunthawat/moreminimore-vibe/issues/1849#issuecomment-3590685911
|
||||
const fallbackPrefix = "Fallbacks=[{";
|
||||
if (error.includes(fallbackPrefix)) {
|
||||
error = error.split(fallbackPrefix)[0];
|
||||
@@ -114,13 +114,13 @@ export function ChatErrorBox({
|
||||
error.includes(AI_STREAMING_ERROR_MESSAGE_PREFIX) &&
|
||||
!error.includes("TypeError: terminated") && (
|
||||
<ExternalLink
|
||||
href="https://moreminimore.com/pro?utm_source=dyad-app&utm_medium=app&utm_campaign=general-error"
|
||||
href="https://MoreMinimore.com/pro?utm_source=dyad-app&utm_medium=app&utm_campaign=general-error"
|
||||
variant="primary"
|
||||
>
|
||||
Upgrade to MoreMinimore Pro
|
||||
</ExternalLink>
|
||||
)}
|
||||
<ExternalLink href="https://www.moreminimore.com/docs/faq">
|
||||
<ExternalLink href="https://www.MoreMinimore.com/docs/faq">
|
||||
Read docs
|
||||
</ExternalLink>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user