docs: add troubleshoot somethings amiss

This commit is contained in:
Ho Duc Hieu 2024-01-10 12:17:10 +07:00
parent 37baf9ea5c
commit a88a99e624
4 changed files with 735 additions and 624 deletions

View File

@ -1,7 +1,7 @@
--- ---
title: Failed to Fetch title: Something's amiss
slug: /troubleshooting/failed-to-fetch slug: /troubleshooting/somethings-amiss
description: Troubleshooting "Failed to Fetch" description: Troubleshooting "Something's amiss"
keywords: [ keywords: [
Jan AI, Jan AI,
Jan, Jan,
@ -16,7 +16,7 @@ keywords: [
] ]
--- ---
You may receive an "Error occured: Failed to Fetch" response when you first start chatting with a selected model. You may receive an "Something's amiss" response when you first start chatting with a selected model.
This may occur due to several reasons. Please follow these steps to resolve it: This may occur due to several reasons. Please follow these steps to resolve it:

View File

@ -61,6 +61,17 @@ const config = {
enableInDevelopment: false, // optional enableInDevelopment: false, // optional
}, },
], ],
[
"@docusaurus/plugin-client-redirects",
{
redirects: [
{
from: "troubleshooting/failed-to-fetch",
to: "troubleshooting/somethings-amiss",
},
],
},
],
], ],
// The classic preset will relay each option entry to the respective sub plugin/theme. // The classic preset will relay each option entry to the respective sub plugin/theme.

View File

@ -15,6 +15,7 @@
}, },
"dependencies": { "dependencies": {
"@docusaurus/core": "^3.0.0", "@docusaurus/core": "^3.0.0",
"@docusaurus/plugin-client-redirects": "^3.1.0",
"@docusaurus/plugin-content-docs": "^3.0.0", "@docusaurus/plugin-content-docs": "^3.0.0",
"@docusaurus/preset-classic": "^3.0.0", "@docusaurus/preset-classic": "^3.0.0",
"@docusaurus/theme-live-codeblock": "^3.0.0", "@docusaurus/theme-live-codeblock": "^3.0.0",

File diff suppressed because it is too large Load Diff