From bb4c72d892b9550559ab7f861bd19876f67fc0f2 Mon Sep 17 00:00:00 2001 From: hahuyhoang411 Date: Fri, 8 Mar 2024 12:07:10 +0700 Subject: [PATCH 1/9] add: init first draft version --- .../guides/error-codes/stuck-on-loading.mdx | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 docs/docs/guides/error-codes/stuck-on-loading.mdx diff --git a/docs/docs/guides/error-codes/stuck-on-loading.mdx b/docs/docs/guides/error-codes/stuck-on-loading.mdx new file mode 100644 index 000000000..09762446b --- /dev/null +++ b/docs/docs/guides/error-codes/stuck-on-loading.mdx @@ -0,0 +1,45 @@ +--- +title: Stuck on loading model +slug: /troubleshooting/stuck-on-loading +description: Troubleshooting steps to resolve issues related to loading model. +keywords: + [ + Jan AI, + Jan, + ChatGPT alternative, + local AI, + private AI, + conversational AI, + no-subscription fee, + large language model, + troubleshooting, + ] +--- + +Encountering an stuck on loading model issue in Jan is caused by errors related the `Windows Management Instrumentation Command-line (WMIC)` path not being included in the system's PATH environment variable. + +It can be resolved through the following steps: + +#### Adding WMIC Path to Environment Variables: + +1. **Open System Properties:** + - Press `Windows key + R`. + - Type `sysdm.cpl` and press `Enter`. + +2. **Access Environment Variables:** + - Go to the "Advanced" tab. + - Click "Environment Variables" button. + +3. **Edit System PATH:** + - Under "System Variables," find and select `Path`. + - Click "Edit." + +4. **Add WMIC Path:** + - Click "New" and enter `C:\Windows\System32\Wbem`. + +5. **Save Changes:** + - Click "OK" to close and save your changes. + +6. **Verify Installation:** + - Restart any command prompts or terminals. + - Run `where wmic` to verify. Expected output: `C:\Windows\System32\wbem\WMIC.exe`. \ No newline at end of file From 5c7ac0a75291ea3e86032da0921b7d161caa36b7 Mon Sep 17 00:00:00 2001 From: hahuyhoang411 Date: Fri, 8 Mar 2024 13:40:37 +0700 Subject: [PATCH 2/9] add: docs for cpus without avx --- .../guides/error-codes/stuck-on-loading.mdx | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/docs/guides/error-codes/stuck-on-loading.mdx b/docs/docs/guides/error-codes/stuck-on-loading.mdx index 09762446b..26ad6f6a5 100644 --- a/docs/docs/guides/error-codes/stuck-on-loading.mdx +++ b/docs/docs/guides/error-codes/stuck-on-loading.mdx @@ -16,11 +16,13 @@ keywords: ] --- +## 1. Missing Windows Management Instrumentation Command-line (WMIC) + Encountering an stuck on loading model issue in Jan is caused by errors related the `Windows Management Instrumentation Command-line (WMIC)` path not being included in the system's PATH environment variable. It can be resolved through the following steps: -#### Adding WMIC Path to Environment Variables: +### Adding WMIC Path to Environment Variables: 1. **Open System Properties:** - Press `Windows key + R`. @@ -42,4 +44,15 @@ It can be resolved through the following steps: 6. **Verify Installation:** - Restart any command prompts or terminals. - - Run `where wmic` to verify. Expected output: `C:\Windows\System32\wbem\WMIC.exe`. \ No newline at end of file + - Run `where wmic` to verify. Expected output: `C:\Windows\System32\wbem\WMIC.exe`. + + +## 2. CPU without AVX + +Encountering an issue with models stuck on loading in Jan can be due to the use of older generation CPUs that do not support Advanced Vector Extensions (AVX). + +To check if your CPU supports AVX, visit the following link: [CPUs with AVX](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#CPUs_with_AVX) + +:::warning [Please use this with caution] +As a workaround, consider using an [emulator](https://www.intel.com/content/www/us/en/developer/articles/tool/software-development-emulator.html) to simulate AVX support. +::: \ No newline at end of file From 6cf2a462538ddc59dff60adc655dd50c7a4ad735 Mon Sep 17 00:00:00 2001 From: hahuyhoang411 Date: Fri, 8 Mar 2024 13:45:18 +0700 Subject: [PATCH 3/9] add: error message for wbem --- docs/docs/guides/error-codes/stuck-on-loading.mdx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/docs/guides/error-codes/stuck-on-loading.mdx b/docs/docs/guides/error-codes/stuck-on-loading.mdx index 26ad6f6a5..584857303 100644 --- a/docs/docs/guides/error-codes/stuck-on-loading.mdx +++ b/docs/docs/guides/error-codes/stuck-on-loading.mdx @@ -16,13 +16,16 @@ keywords: ] --- -## 1. Missing Windows Management Instrumentation Command-line (WMIC) +## 1. Issue: Missing Windows Management Instrumentation Command-line (WMIC) Encountering an stuck on loading model issue in Jan is caused by errors related the `Windows Management Instrumentation Command-line (WMIC)` path not being included in the system's PATH environment variable. -It can be resolved through the following steps: +Error message: +``` +index.js:47 Uncaught (in promise) Error: Error invoking remote method 'invokeExtensionFunc': Error: Command failed: WMIC CPU Get NumberOfCores +``` -### Adding WMIC Path to Environment Variables: +It can be resolved through the following steps: 1. **Open System Properties:** - Press `Windows key + R`. @@ -47,7 +50,7 @@ It can be resolved through the following steps: - Run `where wmic` to verify. Expected output: `C:\Windows\System32\wbem\WMIC.exe`. -## 2. CPU without AVX +## 2. Issue: Model Loading Stuck Due to CPU without AVX Encountering an issue with models stuck on loading in Jan can be due to the use of older generation CPUs that do not support Advanced Vector Extensions (AVX). From 2726ed34cd9ef6cc93372db9544764a09ce1f657 Mon Sep 17 00:00:00 2001 From: hahuyhoang411 Date: Fri, 8 Mar 2024 14:34:35 +0700 Subject: [PATCH 4/9] fix: typo --- docs/docs/guides/error-codes/stuck-on-loading.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/guides/error-codes/stuck-on-loading.mdx b/docs/docs/guides/error-codes/stuck-on-loading.mdx index 584857303..38ffed481 100644 --- a/docs/docs/guides/error-codes/stuck-on-loading.mdx +++ b/docs/docs/guides/error-codes/stuck-on-loading.mdx @@ -16,7 +16,7 @@ keywords: ] --- -## 1. Issue: Missing Windows Management Instrumentation Command-line (WMIC) +## 1. Issue: Model Loading Stuck Due To Missing Windows Management Instrumentation Command-line (WMIC) Encountering an stuck on loading model issue in Jan is caused by errors related the `Windows Management Instrumentation Command-line (WMIC)` path not being included in the system's PATH environment variable. @@ -50,7 +50,7 @@ It can be resolved through the following steps: - Run `where wmic` to verify. Expected output: `C:\Windows\System32\wbem\WMIC.exe`. -## 2. Issue: Model Loading Stuck Due to CPU without AVX +## 2. Issue: Model Loading Stuck Due To CPU Without AVX Encountering an issue with models stuck on loading in Jan can be due to the use of older generation CPUs that do not support Advanced Vector Extensions (AVX). From 775ae0b994ca146f41884f6a8b9bf12a6f1ac30d Mon Sep 17 00:00:00 2001 From: hahuyhoang411 Date: Fri, 8 Mar 2024 14:34:57 +0700 Subject: [PATCH 5/9] add: no assistant bug docs --- .../error-codes/no-assistant-available.mdx | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 docs/docs/guides/error-codes/no-assistant-available.mdx diff --git a/docs/docs/guides/error-codes/no-assistant-available.mdx b/docs/docs/guides/error-codes/no-assistant-available.mdx new file mode 100644 index 000000000..ed954db60 --- /dev/null +++ b/docs/docs/guides/error-codes/no-assistant-available.mdx @@ -0,0 +1,31 @@ +--- +title: No assistant available +slug: /troubleshooting/no-assistant-available +description: Troubleshooting steps to resolve issues related to loading model. +keywords: + [ + Jan AI, + Jan, + ChatGPT alternative, + local AI, + private AI, + conversational AI, + no-subscription fee, + large language model, + troubleshooting, + ] +--- + + +When you encounter the following error message: +``` +No assistant available. +``` + +This issue arises when a new, unintentional file appears in `/jan/assistants`. + +It can be resolved through the following steps: + +1. Access the `/jan/assistants` directory using a file manager or terminal. + +2. Within `/jan/assistants`, this directory should only contain a folder named `jan`. Identify any file outside of this folder and remove it. \ No newline at end of file From 8b8c9d748e10914c6ae40de5bb6f44c4244a38ed Mon Sep 17 00:00:00 2001 From: hahuyhoang411 Date: Fri, 8 Mar 2024 14:44:21 +0700 Subject: [PATCH 6/9] add: threads disappearance --- .../guides/error-codes/missing-thread.mdx | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docs/docs/guides/error-codes/missing-thread.mdx diff --git a/docs/docs/guides/error-codes/missing-thread.mdx b/docs/docs/guides/error-codes/missing-thread.mdx new file mode 100644 index 000000000..36bf4a66b --- /dev/null +++ b/docs/docs/guides/error-codes/missing-thread.mdx @@ -0,0 +1,25 @@ +--- +title: Thread Disappearance +slug: /troubleshooting/thread-disappearance +description: Troubleshooting steps to resolve issues threads suddenly disappearance. +keywords: + [ + Jan AI, + Jan, + ChatGPT alternative, + local AI, + private AI, + conversational AI, + no-subscription fee, + large language model, + troubleshooting, + ] +--- + +When you encounter the error of old threads suddenly disappear. This can happen when a new, unintentional file is created in `/jan/threads`. + +It can be resolved through the following steps: + +1. Go to `/jan/threads`. + +2. The `/jan/threads` directory contains many folders named with the prefix `jan_` followed by an ID (e.g., `jan_123`). Look for any file not conforming to this naming pattern and remove it. \ No newline at end of file From 3c1607fe440cc14dfad21a869d7e72b8eee974a9 Mon Sep 17 00:00:00 2001 From: hahuyhoang411 Date: Fri, 8 Mar 2024 14:44:42 +0700 Subject: [PATCH 7/9] fix: coorect slug --- docs/docs/guides/error-codes/no-assistant-available.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/guides/error-codes/no-assistant-available.mdx b/docs/docs/guides/error-codes/no-assistant-available.mdx index ed954db60..3dbdbe5f6 100644 --- a/docs/docs/guides/error-codes/no-assistant-available.mdx +++ b/docs/docs/guides/error-codes/no-assistant-available.mdx @@ -1,7 +1,7 @@ --- title: No assistant available slug: /troubleshooting/no-assistant-available -description: Troubleshooting steps to resolve issues related to loading model. +description: Troubleshooting steps to resolve issues no assistant available. keywords: [ Jan AI, From 82eb31114bd3c0f91c5c733bcb38227538cdfbfd Mon Sep 17 00:00:00 2001 From: hieu-jan <150573299+hieu-jan@users.noreply.github.com> Date: Fri, 8 Mar 2024 19:25:50 +0900 Subject: [PATCH 8/9] docs: fixing slug --- docs/docs/guides/error-codes/no-assistant-available.mdx | 6 +++--- .../{stuck-on-loading.mdx => stuck-on-loading-model.mdx} | 5 +++-- .../{missing-thread.mdx => thread-disappreance.mdx} | 3 ++- 3 files changed, 8 insertions(+), 6 deletions(-) rename docs/docs/guides/error-codes/{stuck-on-loading.mdx => stuck-on-loading-model.mdx} (96%) rename docs/docs/guides/error-codes/{missing-thread.mdx => thread-disappreance.mdx} (93%) diff --git a/docs/docs/guides/error-codes/no-assistant-available.mdx b/docs/docs/guides/error-codes/no-assistant-available.mdx index 3dbdbe5f6..31d9a75e9 100644 --- a/docs/docs/guides/error-codes/no-assistant-available.mdx +++ b/docs/docs/guides/error-codes/no-assistant-available.mdx @@ -1,6 +1,6 @@ --- -title: No assistant available -slug: /troubleshooting/no-assistant-available +title: No Assistant Available +sidebar_position: 7 description: Troubleshooting steps to resolve issues no assistant available. keywords: [ @@ -13,10 +13,10 @@ keywords: no-subscription fee, large language model, troubleshooting, + no assistant available, ] --- - When you encounter the following error message: ``` No assistant available. diff --git a/docs/docs/guides/error-codes/stuck-on-loading.mdx b/docs/docs/guides/error-codes/stuck-on-loading-model.mdx similarity index 96% rename from docs/docs/guides/error-codes/stuck-on-loading.mdx rename to docs/docs/guides/error-codes/stuck-on-loading-model.mdx index 38ffed481..95b45e6bf 100644 --- a/docs/docs/guides/error-codes/stuck-on-loading.mdx +++ b/docs/docs/guides/error-codes/stuck-on-loading-model.mdx @@ -1,6 +1,6 @@ --- -title: Stuck on loading model -slug: /troubleshooting/stuck-on-loading +title: Stuck on Loading Model +sidebar_position: 8 description: Troubleshooting steps to resolve issues related to loading model. keywords: [ @@ -13,6 +13,7 @@ keywords: no-subscription fee, large language model, troubleshooting, + stuck on loading model, ] --- diff --git a/docs/docs/guides/error-codes/missing-thread.mdx b/docs/docs/guides/error-codes/thread-disappreance.mdx similarity index 93% rename from docs/docs/guides/error-codes/missing-thread.mdx rename to docs/docs/guides/error-codes/thread-disappreance.mdx index 36bf4a66b..06235df56 100644 --- a/docs/docs/guides/error-codes/missing-thread.mdx +++ b/docs/docs/guides/error-codes/thread-disappreance.mdx @@ -1,6 +1,6 @@ --- title: Thread Disappearance -slug: /troubleshooting/thread-disappearance +sidebar_position: 6 description: Troubleshooting steps to resolve issues threads suddenly disappearance. keywords: [ @@ -13,6 +13,7 @@ keywords: no-subscription fee, large language model, troubleshooting, + thread disappearance, ] --- From 1f6ba881fc619e1c4241c683996df38ab8385e75 Mon Sep 17 00:00:00 2001 From: hieu-jan <150573299+hieu-jan@users.noreply.github.com> Date: Sat, 9 Mar 2024 00:56:19 +0900 Subject: [PATCH 9/9] docs: fix typo --- docs/docs/guides/error-codes/stuck-on-loading-model.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/guides/error-codes/stuck-on-loading-model.mdx b/docs/docs/guides/error-codes/stuck-on-loading-model.mdx index 95b45e6bf..86a16b5fc 100644 --- a/docs/docs/guides/error-codes/stuck-on-loading-model.mdx +++ b/docs/docs/guides/error-codes/stuck-on-loading-model.mdx @@ -1,7 +1,7 @@ --- title: Stuck on Loading Model sidebar_position: 8 -description: Troubleshooting steps to resolve issues related to loading model. +description: Troubleshooting steps to resolve issues related to the loading model. keywords: [ Jan AI, @@ -19,7 +19,7 @@ keywords: ## 1. Issue: Model Loading Stuck Due To Missing Windows Management Instrumentation Command-line (WMIC) -Encountering an stuck on loading model issue in Jan is caused by errors related the `Windows Management Instrumentation Command-line (WMIC)` path not being included in the system's PATH environment variable. +Encountering a stuck-on-loading model issue in Jan is caused by errors related to the `Windows Management Instrumentation Command-line (WMIC)` path not being included in the system's PATH environment variable. Error message: ``` @@ -34,10 +34,10 @@ It can be resolved through the following steps: 2. **Access Environment Variables:** - Go to the "Advanced" tab. - - Click "Environment Variables" button. + - Click the "Environment Variables" button. 3. **Edit System PATH:** - - Under "System Variables," find and select `Path`. + - Under "System Variables" find and select `Path`. - Click "Edit." 4. **Add WMIC Path:**