diff --git a/README.md b/README.md
index 96d07bcff..748470924 100644
--- a/README.md
+++ b/README.md
@@ -76,31 +76,31 @@ Jan is an open-source ChatGPT alternative that runs 100% offline on your compute
| Experimental (Nightly Build) |
-
+
jan.exe
|
-
+
Intel
|
-
+
M1/M2
|
-
+
jan.deb
|
-
+
jan.AppImage
diff --git a/core/src/types/message/messageEntity.ts b/core/src/types/message/messageEntity.ts
index e9211d550..b7365c6cd 100644
--- a/core/src/types/message/messageEntity.ts
+++ b/core/src/types/message/messageEntity.ts
@@ -29,6 +29,9 @@ export type ThreadMessage = {
metadata?: Record
type?: string
+
+ /** The error code which explain what error type. Used in conjunction with MessageStatus.Error */
+ error_code?: ErrorCode
}
/**
@@ -77,6 +80,12 @@ export enum MessageStatus {
Stopped = 'stopped',
}
+export enum ErrorCode {
+ InvalidApiKey = 'invalid_api_key',
+
+ Unknown = 'unknown',
+}
+
/**
* The content type of the message.
*/
diff --git a/docs/docs/guides/best-practices.mdx b/docs/docs/guides/best-practices.mdx
index c3cdacb69..9dabef8dc 100644
--- a/docs/docs/guides/best-practices.mdx
+++ b/docs/docs/guides/best-practices.mdx
@@ -23,26 +23,26 @@ Jan is a versatile platform offering solutions for integrating AI locally across
The [quickstart guide](quickstart.mdx) is designed to facilitate a quick setup process. It provides a clear instruction and simple steps to get you up and running with Jan.ai quickly. Even, if you are inexperienced in AI, the quickstart can offer valuable insights and tips to help you get started quickly.
## Setting up the Right Models
-Jan offers a range of pre-configured AI models that is tailored to different tasks and industries. You should indentify which on that aligns with your objectives. There are model's factors to be considered:
+Jan offers a range of pre-configured AI models that are tailored to different tasks and industries. You should identify which on that aligns with your objectives. There are factors to be considered:
- Capabilities
- Accuracy
- Processing Speed
:::note
-Some of these factors also depends on your hardware, please see [Hardware Requirement](hardware-requiement.mdx).
+- Some of these factors also depend on your hardware, please see Hardware Requirement.
+- Choosing the right model is important to achieve the best performance.
:::
-Choosing the right model is important to achieve the best performance.
## Setting up Jan
Ensure that you familiarize yourself with the Jan application. Jan offers advanced settings that you can adjust. These settings may influence how your AI behaves locally. Please see the [Advanced Settings](./advanced-settings/advanced-settings.mdx) article for a complete list of Jan's configurations and instructions on how to configure them.
## Integrations
-One of Jan.ai key features is its ability to integrate with many FileSystemWritableFileStream. Whether you are incorporating Jan.ai with any open-source LLM provider or other WebTransportBidirectionalStream, it is important to understand the integration capabilities and limitations.
+One of Jan's key features is its ability to integrate with many systems. Whether you are incorporating Jan.ai with any open-source LLM provider or other tools, it is important to understand the integration capabilities and limitations.
## Mastering the Prompt Engineering
-Prompt engineering is an important aspect when dealing with AI models to generate the desired outputs. Mastering this skill can significantly enhance the performance and the responses of the AI. Below are some tips that you can do for promptengineering:
+Prompt engineering is an important aspect when dealing with AI models to generate the desired outputs. Mastering this skill can significantly enhance the performance and the responses of the AI. Below are some tips that you can do for prompt engineering:
- Ask the model to adopt a persona
- Be specific and details get a more specific answers
- Provide examples or preference text or context at the beginning
- Use a clear and concise language
-- Use a certain keywords and phrases
+- Use certain keywords and phrases
diff --git a/docs/docs/guides/error-codes/how-to-get-error-logs.mdx b/docs/docs/guides/error-codes/how-to-get-error-logs.mdx
new file mode 100644
index 000000000..045468e33
--- /dev/null
+++ b/docs/docs/guides/error-codes/how-to-get-error-logs.mdx
@@ -0,0 +1,49 @@
+---
+title: How to Get Error Logs
+sidebar_position: 5
+description: A step-by-step guide to get the Jan app error logs.
+keywords:
+ [
+ Jan AI,
+ Jan,
+ ChatGPT alternative,
+ local AI,
+ private AI,
+ conversational AI,
+ no-subscription fee,
+ large language model,
+ troubleshooting,
+ permission denied,
+ ]
+---
+
+To get the error logs of your Jan application, follow the steps below:
+### Jan Application
+1. Navigate to the main dashboard.
+2. Click the **gear icon (โ๏ธ)** on the bottom left of your screen.
+3. Under the **Settings screen**, click the **Advanced Settings**.
+4. On the **Jan Data Folder** click the **folder icon (๐)** to access the data.
+5. Click the **logs** folder.
+
+### Jan UI
+1. Open your Unix or Linux terminal.
+2. Use the following commands to get the recent 50 lines of log files:
+```bash
+tail -n 50 ~/jan/logs/app.log
+
+```
+
+### Jan API Server
+1. Open your Unix or Linux terminal.
+2. Use the following commands to get the recent 50 lines of log files:
+```bash
+tail -n 50 ~/jan/logs/server.log
+
+```
+:::warning
+Ensure to redact any private or sensitive information when sharing logs or error details.
+:::
+
+:::note
+If you have any questions or are looking for support, please don't hesitate to contact us via our [Discord community](https://discord.gg/Dt7MxDyNNZ) or create a new issue in our [GitHub repository](https://github.com/janhq/jan/issues/new/choose).
+:::
\ No newline at end of file
diff --git a/docs/docs/guides/models/import-models.mdx b/docs/docs/guides/models/import-models.mdx
index ab992b0ef..116c63fb7 100644
--- a/docs/docs/guides/models/import-models.mdx
+++ b/docs/docs/guides/models/import-models.mdx
@@ -1,5 +1,6 @@
---
title: Manual Import
+slug: /guides/using-models/import-manually/
sidebar_position: 3
description: A step-by-step guide on how to perform manual import feature.
keywords:
diff --git a/docs/docs/guides/thread.mdx b/docs/docs/guides/thread.mdx
index e9cf89932..fdd8fb603 100644
--- a/docs/docs/guides/thread.mdx
+++ b/docs/docs/guides/thread.mdx
@@ -5,58 +5,45 @@ hide_table_of_contents: true
description: Manage your interaction with AI locally.
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
Jan provides a straightforward and private solution for managing your threads with AI on your own device. As you interact with AI using Jan, you'll accumulate a history of threads.
Jan offers easy tools to organize, delete, or review your past threads with AI. This guide will show you how to keep your threads private and well-organized.
-
-
### View Thread History
- To view your threads history, follow the steps below:
+ To view your thread history, follow the steps below:
1. Navigate to the main dashboard.
2. Locate the list of threads screen on the left side.
3. To view a specific thread, simply choose the one you're interested in and then scroll up or down to explore the entire conversation.
-
-
- ### Manage the Threads via Folder
- To manage your threads history and configurations, follow the steps below:
+ ### Manage Thread via Jan Data Folder
+ To manage your thread history and configurations, follow the steps below:
1. Navigate to the Thread that you want to manage via the list of threads on the left side of the dashboard.
- 2. Click on the **three dots (โฎ)** on the Thread section.
+ 2. Click on the **three dots (โฎ)** in the Thread section.
3. There are two available options to select:
- **Reveal in Finder**: Opens the folder containing the thread history and configurations.
- **View as JSON**: Opens the thread.json file in your default browser.
-
-
-
### Clean Threads History
To clean all the messages from a thread, follow the steps below:
1. Navigate to the Thread that you want to clean.
- 2. Click on the **three dots (โฎ)** on the Thread section.
+ 2. Click on the **three dots (โฎ)** in the Thread section.
3. Sleect the **Clean Thread** button.
:::note
-This will delete all messages in the thread, while keeping the thread settings.
+This will delete all messages in the thread while keeping the thread settings.
:::
-
-
+
### Delete Threads History
To delete a thread, follow the steps below:
1. Navigate to the Thread that you want to delete.
- 2. Click on the **three dots (โฎ)** on the Thread section.
+ 2. Click on the **three dots (โฎ)** in the Thread section.
3. Sleect the **Delete Thread** button.
:::note
This will delete all messages and the thread settings.
:::
-
-
-
\ No newline at end of file
diff --git a/docs/docs/guides/changelog/README.mdx b/docs/docs/releases/changelog/README.mdx
similarity index 89%
rename from docs/docs/guides/changelog/README.mdx
rename to docs/docs/releases/changelog/README.mdx
index be78d1f33..09e6d8222 100644
--- a/docs/docs/guides/changelog/README.mdx
+++ b/docs/docs/releases/changelog/README.mdx
@@ -1,7 +1,7 @@
---
title: Changelog
-slug: /guides/changelog/
-sidebar_position: 5
+sidebar_position: 1
+slug: /changelog
description: Jan is a ChatGPT-alternative that runs on your own computer, with a local API server.
keywords:
[
diff --git a/docs/docs/guides/changelog/cache.json b/docs/docs/releases/changelog/cache.json
similarity index 100%
rename from docs/docs/guides/changelog/cache.json
rename to docs/docs/releases/changelog/cache.json
diff --git a/docs/docs/guides/changelog/changelog-v0.2.0.mdx b/docs/docs/releases/changelog/changelog-v0.2.0.mdx
similarity index 97%
rename from docs/docs/guides/changelog/changelog-v0.2.0.mdx
rename to docs/docs/releases/changelog/changelog-v0.2.0.mdx
index d5d9b4845..2115095ca 100644
--- a/docs/docs/guides/changelog/changelog-v0.2.0.mdx
+++ b/docs/docs/releases/changelog/changelog-v0.2.0.mdx
@@ -1,46 +1,47 @@
----
-sidebar_position: 16
----
-# v0.2.0
-
-For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.2.0)
-
-Highlighted Issue: [Issue #342: feat: Add Jan Hacker House event page to Docs](https://github.com/janhq/jan/pull/342)
-
-## Changes
-
-- feat: Add Jan Hacker House event page to Docs @dan-jan (#342)
-- feat: Hide incomplete Hardware section from Docs site @dan-jan (#341)
-- style: better chatbox ui @0xSage (#338)
-- feat: allowing user to fetch models from github @namchuai (#319)
-- fixes: #247 - inference plugin should check nitro service available @louis-jan (#313)
-- Fix icon error for linux app @hiento09 (#316)
-- docs: initial hardware content @Its-Alamin-H (#240)
-- fixes #277 - bug: memory utilization always at 99% @louis-jan (#309)
-- Docusaurus parser string from githubapi to get latest release @hiento09 (#312)
-- Footer background, CTA \& Highlight colors @drakehere (#288)
-- Fix CI Test run failed on ubuntu and change release file app name @hiento09 (#307)
-- Add docusaurus test build pipeline @hiento09 (#302)
-- fix: #271 Cannot read properties of undefined (reading 'map') @louis-jan (#300)
-- Fix Docusaurus server side render error @hiento09 (#301)
-- fix #283: small ui fixes @namchuai (#299)
-
-## ๐ Bug Fixes
-
-- Fix #290: Add description in package.json and rename to jan @hiento09 (#333)
-
-## ๐งฐ Maintenance
-
-- Add Documentation category to release note template @hiento09 (#332)
-- Chore/release note template @hiento09 (#323)
-- Add release note template @hiento09 (#322)
-
-## ๐ Documentaion
-
-- Add auto update app download url on jan.ai @hiento09 (#311)
-- docs: update per v0.1.3 @0xSage (#280)
-
-## Contributor
-
-@0xSage, @Its-Alamin-H, @dan-jan, @drakehere, @hiento09, @hientominh, @louis-jan, @namchuai, Hien To and James
-
+---
+sidebar_position: 16
+slug: /changelog/changelog-v0.2.0
+---
+# v0.2.0
+
+For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.2.0)
+
+Highlighted Issue: [Issue #342: feat: Add Jan Hacker House event page to Docs](https://github.com/janhq/jan/pull/342)
+
+## Changes
+
+- feat: Add Jan Hacker House event page to Docs @dan-jan (#342)
+- feat: Hide incomplete Hardware section from Docs site @dan-jan (#341)
+- style: better chatbox ui @0xSage (#338)
+- feat: allowing user to fetch models from github @namchuai (#319)
+- fixes: #247 - inference plugin should check nitro service available @louis-jan (#313)
+- Fix icon error for linux app @hiento09 (#316)
+- docs: initial hardware content @Its-Alamin-H (#240)
+- fixes #277 - bug: memory utilization always at 99% @louis-jan (#309)
+- Docusaurus parser string from githubapi to get latest release @hiento09 (#312)
+- Footer background, CTA \& Highlight colors @drakehere (#288)
+- Fix CI Test run failed on ubuntu and change release file app name @hiento09 (#307)
+- Add docusaurus test build pipeline @hiento09 (#302)
+- fix: #271 Cannot read properties of undefined (reading 'map') @louis-jan (#300)
+- Fix Docusaurus server side render error @hiento09 (#301)
+- fix #283: small ui fixes @namchuai (#299)
+
+## ๐ Bug Fixes
+
+- Fix #290: Add description in package.json and rename to jan @hiento09 (#333)
+
+## ๐งฐ Maintenance
+
+- Add Documentation category to release note template @hiento09 (#332)
+- Chore/release note template @hiento09 (#323)
+- Add release note template @hiento09 (#322)
+
+## ๐ Documentaion
+
+- Add auto update app download url on jan.ai @hiento09 (#311)
+- docs: update per v0.1.3 @0xSage (#280)
+
+## Contributor
+
+@0xSage, @Its-Alamin-H, @dan-jan, @drakehere, @hiento09, @hientominh, @louis-jan, @namchuai, Hien To and James
+
diff --git a/docs/docs/guides/changelog/changelog-v0.2.1.mdx b/docs/docs/releases/changelog/changelog-v0.2.1.mdx
similarity index 98%
rename from docs/docs/guides/changelog/changelog-v0.2.1.mdx
rename to docs/docs/releases/changelog/changelog-v0.2.1.mdx
index a7724ff08..5afc5999b 100644
--- a/docs/docs/guides/changelog/changelog-v0.2.1.mdx
+++ b/docs/docs/releases/changelog/changelog-v0.2.1.mdx
@@ -1,5 +1,6 @@
---
sidebar_position: 15
+slug: /changelog/changelog-v0.2.1
---
# v0.2.1
@@ -7,86 +8,86 @@ For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.2
Highlighted Issue: [Issue #446: fix: model is started but the indicator is not stopped loading](https://github.com/janhq/jan/pull/446)
-## Changes
-
-- fix: model is started but the indicator is not stopped loading @louis-jan (#446)
-- fix: bring back install plugin manually function @louis-jan (#448)
-- fix: duplicated messages when user switch between conversations @namchuai (#441)
-- chore: added loader starting and stopping model @urmauur (#438)
-- chore: Change license to AGPL @dan-jan (#442)
-- fix: plugin \& model catalog import cache are not cleared properly @louis-jan (#437)
-- fix error codesign @hiento09 (#439)
-- fix: app version and cleanup unused code @urmauur (#434)
-- chore: update core service - get plugin manifest @louis-jan (#432)
-- ui: interface revamp @urmauur (#429)
-- fix: scroll on explore models does not work @namchuai (#427)
-- feat: adding create bot functionality @namchuai (#368)
-- chore: install or update a plugin should not interrupt dev process @louis-jan (#420)
-- chore: Update nitro 0.1.2 windows/ linux @vuonghoainam (#421)
-- chore: update core service enums @louis-jan (#414)
-- feat: chat with documents plugin @louis-jan (#417)
-- misc: setup prettier @urmauur (#412)
-- adr: 007 - Jan Plugin Catalog @louis-jan (#408)
-- adr: 006 - Jan Core Module @louis-jan (#404)
-- feat: Support for nitro release 0.1.2 @vuonghoainam (#409)
-- feat: explore plugins from the npm repository and install them remotely @louis-jan (#399)
-- feat: fix event description @dan-jan (#400)
-- fix: high cpu usage @louis-jan (#401)
-- docs: model installation ADR @0xSage (#390)
-- chore: update core events module @louis-jan (#394)
-- feat: Update Social OG Image and Meta Description @dan-jan (#387)
-- misc: UI home @urmauur (#392)
-- Update hcmc-oct23.md @0xSage (#389)
-- chore: remove deprecated extension functions @louis-jan (#388)
-- Fix bugs image overlap dropdown button download @urmauur (#384)
-- chore: resolve fetch models api limit rate @louis-jan (#383)
-- chore: update convo summary @louis-jan (#378)
-- Update interface landing page @urmauur (#381)
-- Add simple copywriting changes @dan-jan (#382)
-- chore: update core services and module export @louis-jan (#376)
-- chore: #371 - reference to plugin name and module path as variables @louis-jan (#372)
-- feat: Edit event details, hide all unnecessary website sections @dan-jan (#369)
-- docs: UI Service ADR @0xSage (#318)
-- Feat/issue 255 adr 001 jand cloud native @nam-john-ho (#262)
-- Move plugins folder from electron to root folder @hiento09 (#366)
-- feature: core plugin support events \& preferences modules @louis-jan (#365)
-- Fix/250 @namchuai (#349)
-- Change License and update README @dan-jan (#356)
-- Jan 339 @dan-jan (#348)
-- feat: Jan 339 @dan-jan (#347)
-- Add social og:image @dan-jan (#346)
-- feat(ard): Add adr 002 @vuonghoainam (#261)
-
-## ๐ Features
-
-- #357 plugin \& app can subscribe and emit events @louis-jan (#358)
-- feature: @janhq/plugin-core module \& usage @louis-jan (#321)
-
-## ๐ Bug Fixes
-
-- Change to load nitron on windows and linux from bash/shell script @hiento09 (#451)
-- Fix data-plugin install failed on mac silicon from npm @hiento09 (#413)
-- Correct version of plugins @hiento09 (#374)
-
-## ๐งฐ Maintenance
-
-- upgrade leveldown to newest version @hiento09 (#447)
-- Update auto-sign plugin by search file permission 664 @hiento09 (#445)
-- Change codesign plugin folder in ci @hiento09 (#440)
-- Add continue on error for import cert @hiento09 (#436)
-- Update code siging for new data plugin @hiento09 (#433)
-- Add readme inference plugin @hiento09 (#426)
-- Add username to remote origin @hiento09 (#425)
-- Add auto create PR to plugin-catalog when a new version of plugin is โฆ @hiento09 (#416)
-- Fix data-plugin install failed on mac silicon from npm @hiento09 (#413)
-- Chore/remove package lock @hiento09 (#398)
-- Refactor cicd @hiento09 (#397)
-- Correct version of plugins @hiento09 (#374)
-- Rename plugin-core to core @hiento09 (#370)
-- Fix error check change in plugins folder @hiento09 (#367)
-- chore: jan.ai nits @0xSage (#354)
-
-## Contributor
-
-@0xSage, @dan-jan, @hiento09, @jan-service-account, @louis-jan, @nam-john-ho, @namchuai, @tikikun, @urmauur, @vuonghoainam and Hien To
+## Changes
+
+- fix: model is started but the indicator is not stopped loading @louis-jan (#446)
+- fix: bring back install plugin manually function @louis-jan (#448)
+- fix: duplicated messages when user switch between conversations @namchuai (#441)
+- chore: added loader starting and stopping model @urmauur (#438)
+- chore: Change license to AGPL @dan-jan (#442)
+- fix: plugin \& model catalog import cache are not cleared properly @louis-jan (#437)
+- fix error codesign @hiento09 (#439)
+- fix: app version and cleanup unused code @urmauur (#434)
+- chore: update core service - get plugin manifest @louis-jan (#432)
+- ui: interface revamp @urmauur (#429)
+- fix: scroll on explore models does not work @namchuai (#427)
+- feat: adding create bot functionality @namchuai (#368)
+- chore: install or update a plugin should not interrupt dev process @louis-jan (#420)
+- chore: Update nitro 0.1.2 windows/ linux @vuonghoainam (#421)
+- chore: update core service enums @louis-jan (#414)
+- feat: chat with documents plugin @louis-jan (#417)
+- misc: setup prettier @urmauur (#412)
+- adr: 007 - Jan Plugin Catalog @louis-jan (#408)
+- adr: 006 - Jan Core Module @louis-jan (#404)
+- feat: Support for nitro release 0.1.2 @vuonghoainam (#409)
+- feat: explore plugins from the npm repository and install them remotely @louis-jan (#399)
+- feat: fix event description @dan-jan (#400)
+- fix: high cpu usage @louis-jan (#401)
+- docs: model installation ADR @0xSage (#390)
+- chore: update core events module @louis-jan (#394)
+- feat: Update Social OG Image and Meta Description @dan-jan (#387)
+- misc: UI home @urmauur (#392)
+- Update hcmc-oct23.md @0xSage (#389)
+- chore: remove deprecated extension functions @louis-jan (#388)
+- Fix bugs image overlap dropdown button download @urmauur (#384)
+- chore: resolve fetch models api limit rate @louis-jan (#383)
+- chore: update convo summary @louis-jan (#378)
+- Update interface landing page @urmauur (#381)
+- Add simple copywriting changes @dan-jan (#382)
+- chore: update core services and module export @louis-jan (#376)
+- chore: #371 - reference to plugin name and module path as variables @louis-jan (#372)
+- feat: Edit event details, hide all unnecessary website sections @dan-jan (#369)
+- docs: UI Service ADR @0xSage (#318)
+- Feat/issue 255 adr 001 jand cloud native @nam-john-ho (#262)
+- Move plugins folder from electron to root folder @hiento09 (#366)
+- feature: core plugin support events \& preferences modules @louis-jan (#365)
+- Fix/250 @namchuai (#349)
+- Change License and update README @dan-jan (#356)
+- Jan 339 @dan-jan (#348)
+- feat: Jan 339 @dan-jan (#347)
+- Add social og:image @dan-jan (#346)
+- feat(ard): Add adr 002 @vuonghoainam (#261)
+
+## ๐ Features
+
+- #357 plugin \& app can subscribe and emit events @louis-jan (#358)
+- feature: @janhq/plugin-core module \& usage @louis-jan (#321)
+
+## ๐ Bug Fixes
+
+- Change to load nitron on windows and linux from bash/shell script @hiento09 (#451)
+- Fix data-plugin install failed on mac silicon from npm @hiento09 (#413)
+- Correct version of plugins @hiento09 (#374)
+
+## ๐งฐ Maintenance
+
+- upgrade leveldown to newest version @hiento09 (#447)
+- Update auto-sign plugin by search file permission 664 @hiento09 (#445)
+- Change codesign plugin folder in ci @hiento09 (#440)
+- Add continue on error for import cert @hiento09 (#436)
+- Update code siging for new data plugin @hiento09 (#433)
+- Add readme inference plugin @hiento09 (#426)
+- Add username to remote origin @hiento09 (#425)
+- Add auto create PR to plugin-catalog when a new version of plugin is โฆ @hiento09 (#416)
+- Fix data-plugin install failed on mac silicon from npm @hiento09 (#413)
+- Chore/remove package lock @hiento09 (#398)
+- Refactor cicd @hiento09 (#397)
+- Correct version of plugins @hiento09 (#374)
+- Rename plugin-core to core @hiento09 (#370)
+- Fix error check change in plugins folder @hiento09 (#367)
+- chore: jan.ai nits @0xSage (#354)
+
+## Contributor
+
+@0xSage, @dan-jan, @hiento09, @jan-service-account, @louis-jan, @nam-john-ho, @namchuai, @tikikun, @urmauur, @vuonghoainam and Hien To
diff --git a/docs/docs/guides/changelog/changelog-v0.2.2.mdx b/docs/docs/releases/changelog/changelog-v0.2.2.mdx
similarity index 97%
rename from docs/docs/guides/changelog/changelog-v0.2.2.mdx
rename to docs/docs/releases/changelog/changelog-v0.2.2.mdx
index 0ce3acd65..54a317bff 100644
--- a/docs/docs/guides/changelog/changelog-v0.2.2.mdx
+++ b/docs/docs/releases/changelog/changelog-v0.2.2.mdx
@@ -1,5 +1,6 @@
---
sidebar_position: 14
+slug: /changelog/changelog-v0.2.2
---
# v0.2.2
@@ -7,36 +8,36 @@ For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.2
Highlighted Issue: [Issue #469: chore: plugin and app version dependency](https://github.com/janhq/jan/pull/469)
-## Changes
-
-- chore: plugin and app version dependency @louis-jan (#469)
-- bug: showing a modal when user start conf but model not active @urmauur (#466)
-- fix: duplicated modal and loading state @louis-jan (#465)
-- bug: fix overflow scroll horizontal message @urmauur (#464)
-- bug: avoid chat body scroll horizontal @urmauur (#462)
-- bug: fix logic plugin update plugin and show installed version @urmauur (#459)
-- bug: chat view drops enumeration @urmauur (#456)
-- fix: allow switching models when switch between conversations @namchuai (#458)
-- fix: CI run fails on windows @louis-jan (#463)
-- fix: failed to build electron app @louis-jan (#461)
-- fix: correct app version display @louis-jan (#452)
-- fix: enable link color blue on docusaurus markdown @urmauur (#449)
-
-## ๐ Features
-
-- feat: Add ADR-008 for extensible Jan @vuonghoainam (#431)
-
-## ๐ Bug Fixes
-
-- data-plugin force leveldown to 6.1.1 @hiento09 (#453)
-
-## ๐งฐ Maintenance
-
-- Use electron-rebuild to build leveldown@5.6.0 for darwin arm64 @hiento09 (#455)
-- data-plugin force leveldown back to 5.6.0 and rebuild for darwin arm64 @hiento09 (#454)
-- data-plugin force leveldown to 6.1.1 @hiento09 (#453)
-
-## Contributor
-
-@hiento09, @jan-service-account, @louis-jan, @namchuai, @urmauur and @vuonghoainam
+## Changes
+
+- chore: plugin and app version dependency @louis-jan (#469)
+- bug: showing a modal when user start conf but model not active @urmauur (#466)
+- fix: duplicated modal and loading state @louis-jan (#465)
+- bug: fix overflow scroll horizontal message @urmauur (#464)
+- bug: avoid chat body scroll horizontal @urmauur (#462)
+- bug: fix logic plugin update plugin and show installed version @urmauur (#459)
+- bug: chat view drops enumeration @urmauur (#456)
+- fix: allow switching models when switch between conversations @namchuai (#458)
+- fix: CI run fails on windows @louis-jan (#463)
+- fix: failed to build electron app @louis-jan (#461)
+- fix: correct app version display @louis-jan (#452)
+- fix: enable link color blue on docusaurus markdown @urmauur (#449)
+
+## ๐ Features
+
+- feat: Add ADR-008 for extensible Jan @vuonghoainam (#431)
+
+## ๐ Bug Fixes
+
+- data-plugin force leveldown to 6.1.1 @hiento09 (#453)
+
+## ๐งฐ Maintenance
+
+- Use electron-rebuild to build leveldown@5.6.0 for darwin arm64 @hiento09 (#455)
+- data-plugin force leveldown back to 5.6.0 and rebuild for darwin arm64 @hiento09 (#454)
+- data-plugin force leveldown to 6.1.1 @hiento09 (#453)
+
+## Contributor
+
+@hiento09, @jan-service-account, @louis-jan, @namchuai, @urmauur and @vuonghoainam
diff --git a/docs/docs/guides/changelog/changelog-v0.2.3.mdx b/docs/docs/releases/changelog/changelog-v0.2.3.mdx
similarity index 96%
rename from docs/docs/guides/changelog/changelog-v0.2.3.mdx
rename to docs/docs/releases/changelog/changelog-v0.2.3.mdx
index 0d33c989c..20ae6e077 100644
--- a/docs/docs/guides/changelog/changelog-v0.2.3.mdx
+++ b/docs/docs/releases/changelog/changelog-v0.2.3.mdx
@@ -1,5 +1,6 @@
---
sidebar_position: 13
+slug: /changelog/changelog-v0.2.3
---
# v0.2.3
@@ -7,23 +8,23 @@ For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.2
Highlighted Issue: [Issue #482: fix: hide preferences section if empty](https://github.com/janhq/jan/pull/482)
-## Changes
-
-- fix: hide preferences section if empty @louis-jan (#482)
-- chore: fix conversation summary @louis-jan (#480)
-- chore: missing create conversation button when there is no conversation is selected @louis-jan (#478)
-- fix: download now change state immediately @namchuai (#475)
-- chore: add required app version to edge release plugin @louis-jan (#471)
-
-## ๐ Bug Fixes
-
-- add rebuild for mac x64 @hiento09 (#473)
-
-## ๐งฐ Maintenance
-
-- Add build deps for data-plugin in CI @hiento09 (#472)
-
-## Contributor
-
-@hiento09, @hientominh, @jan-service-account, @louis-jan and @namchuai
+## Changes
+
+- fix: hide preferences section if empty @louis-jan (#482)
+- chore: fix conversation summary @louis-jan (#480)
+- chore: missing create conversation button when there is no conversation is selected @louis-jan (#478)
+- fix: download now change state immediately @namchuai (#475)
+- chore: add required app version to edge release plugin @louis-jan (#471)
+
+## ๐ Bug Fixes
+
+- add rebuild for mac x64 @hiento09 (#473)
+
+## ๐งฐ Maintenance
+
+- Add build deps for data-plugin in CI @hiento09 (#472)
+
+## Contributor
+
+@hiento09, @hientominh, @jan-service-account, @louis-jan and @namchuai
diff --git a/docs/docs/guides/changelog/changelog-v0.3.0.mdx b/docs/docs/releases/changelog/changelog-v0.3.0.mdx
similarity index 96%
rename from docs/docs/guides/changelog/changelog-v0.3.0.mdx
rename to docs/docs/releases/changelog/changelog-v0.3.0.mdx
index 65523ae77..5c0d94400 100644
--- a/docs/docs/guides/changelog/changelog-v0.3.0.mdx
+++ b/docs/docs/releases/changelog/changelog-v0.3.0.mdx
@@ -1,29 +1,30 @@
----
-sidebar_position: 12
----
-# v0.3.0
-
-For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.3.0)
-
-Highlighted Issue: [Issue #482: fix: hide preferences section if empty](https://github.com/janhq/jan/pull/482)
-
-## Changes
-
-- fix: hide preferences section if empty @louis-jan (#482)
-- chore: fix conversation summary @louis-jan (#480)
-- chore: missing create conversation button when there is no conversation is selected @louis-jan (#478)
-- fix: download now change state immediately @namchuai (#475)
-- chore: add required app version to edge release plugin @louis-jan (#471)
-
-## ๐ Bug Fixes
-
-- add rebuild for mac x64 @hiento09 (#473)
-
-## ๐งฐ Maintenance
-
-- Add build deps for data-plugin in CI @hiento09 (#472)
-
-## Contributor
-
-@hiento09, @hientominh, @jan-service-account, @louis-jan and @namchuai
-
+---
+sidebar_position: 12
+slug: /changelog/changelog-v0.3.0
+---
+# v0.3.0
+
+For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.3.0)
+
+Highlighted Issue: [Issue #482: fix: hide preferences section if empty](https://github.com/janhq/jan/pull/482)
+
+## Changes
+
+- fix: hide preferences section if empty @louis-jan (#482)
+- chore: fix conversation summary @louis-jan (#480)
+- chore: missing create conversation button when there is no conversation is selected @louis-jan (#478)
+- fix: download now change state immediately @namchuai (#475)
+- chore: add required app version to edge release plugin @louis-jan (#471)
+
+## ๐ Bug Fixes
+
+- add rebuild for mac x64 @hiento09 (#473)
+
+## ๐งฐ Maintenance
+
+- Add build deps for data-plugin in CI @hiento09 (#472)
+
+## Contributor
+
+@hiento09, @hientominh, @jan-service-account, @louis-jan and @namchuai
+
diff --git a/docs/docs/guides/changelog/changelog-v0.3.1.mdx b/docs/docs/releases/changelog/changelog-v0.3.1.mdx
similarity index 98%
rename from docs/docs/guides/changelog/changelog-v0.3.1.mdx
rename to docs/docs/releases/changelog/changelog-v0.3.1.mdx
index 2ff260797..c636db7c8 100644
--- a/docs/docs/guides/changelog/changelog-v0.3.1.mdx
+++ b/docs/docs/releases/changelog/changelog-v0.3.1.mdx
@@ -1,5 +1,6 @@
---
sidebar_position: 11
+slug: /changelog/changelog-v0.3.1
---
# v0.3.1
@@ -7,71 +8,71 @@ For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.3
Highlighted Issue: [Issue #580: fix: preformatted text indents the first line strangely](https://github.com/janhq/jan/pull/580)
-## Changes
-
-- fix: preformatted text indents the first line strangely @louis-jan (#580)
-- fix: failed to package app since core and uikit are not being built @louis-jan (#575)
-- cleanup: remove component folder and cleanup conversation screen @urmauur (#574)
-- bug: update convo state when user change model @urmauur (#571)
-- fix(#566): jan cannot retrieve the conversations @namchuai (#570)
-- bug: Toast messages shows [object object] @urmauur (#569)
-- ui: improve state of welcome screen @urmauur (#563)
-- chore: fixed an issue where app does not yield message result @louis-jan (#561)
-- Update readme @urmauur (#560)
-- ui: standalone UIKit and refactor @urmauur (#557)
-- Small description changes @dan-jan (#558)
-- add 'change download button based on OS' feature @Vikram-2004 (#551)
-- feat: revamp plugin architecture @louis-jan (#535)
-- Fix mobile padding @imtuyethan (#550)
-- chore: Update Readme @dan-jan (#549)
-- Update Homepage and README with 1-line pitch @dan-jan (#548)
-- docs: Add About, Events, Blog @dan-jan (#546)
-- Ashley/update website content @imtuyethan (#545)
-- Add guides @hahuyhoang411 (#488)
-- Structure Docs @dan-jan (#536)
-- Update README.md @imtuyethan (#533)
-- Chore: Setup "Jan Improvements Proposal" workflow @dan-jan (#534)
-- Update website tag line @imtuyethan (#527)
-- fix: #396 - allow user to cancel a model download @louis-jan (#530)
-- fix: #479 - Toggle plugin is now experimental feature @louis-jan (#531)
-- chore: disable app update on test @louis-jan (#521)
-- bug: chat UI is not consistent @urmauur (#520)
-- refactor: plugin manager and execution as ts @louis-jan (#504)
-- fix: app toolbar is gone on windows @louis-jan (#503)
-- Chore: refactor code, hide plugin menu in web @ghost (#502)
-- fix: dest.end is not a function @louis-jan (#501)
-- #255: Jan cloud native @ghost (#320)
-- bug: download new version should show in status bar @urmauur (#500)
-- feat: add New Conversation button on the conversation sidebar @urmauur (#499)
-- chore: update plugin readme @louis-jan (#497)
-- chore: update plugins license @louis-jan (#496)
-- #255: Read plugins manifest from CDN @ghost (#495)
-- chore: update plugin sdk - add appDataPath @louis-jan (#492)
-- chore: enable back bot function for edge-release @louis-jan (#474)
-- chore: attempt to kill Nitro subprocesses @louis-jan (#484)
-- docs: new dev hub @0xSage (#450)
-
-## ๐ Features
-
-- feat: Experimental Feature Toggle @louis-jan (#525)
-
-## ๐ Bug Fixes
-
-- Add rebuild leveldown for arm on mac intel @hiento09 (#487)
-
-## ๐งฐ Maintenance
-
-- Bump nitro version from 0.1.4 to 0.1.6 @hiento09 (#581)
-- Add set yarn network timeout for uikit @hiento09 (#579)
-- Fix error CI e2e run failed on windows @hiento09 (#578)
-- Fix build plugins macos codesiging error @hiento09 (#576)
-- Add install nitro mac intel inference plugin build locally @hiento09 (#542)
-- Bump nitro version to 0.1.4 @hiento09 (#532)
-- Chore/update yarn dev script @hiento09 (#529)
-- Inference Plugin pull nitro binary from release @hiento09 (#524)
-- Correct version and license @hiento09 (#498)
-
-## Contributor
-
-@0xSage, @Vikram-2004, @dan-jan, @hahuyhoang411, @hiento09, @imtuyethan, @jan-service-account, @louis-jan, @namchuai, @tikikun, @urmauur, Han, James, John and nam-john-ho
+## Changes
+
+- fix: preformatted text indents the first line strangely @louis-jan (#580)
+- fix: failed to package app since core and uikit are not being built @louis-jan (#575)
+- cleanup: remove component folder and cleanup conversation screen @urmauur (#574)
+- bug: update convo state when user change model @urmauur (#571)
+- fix(#566): jan cannot retrieve the conversations @namchuai (#570)
+- bug: Toast messages shows [object object] @urmauur (#569)
+- ui: improve state of welcome screen @urmauur (#563)
+- chore: fixed an issue where app does not yield message result @louis-jan (#561)
+- Update readme @urmauur (#560)
+- ui: standalone UIKit and refactor @urmauur (#557)
+- Small description changes @dan-jan (#558)
+- add 'change download button based on OS' feature @Vikram-2004 (#551)
+- feat: revamp plugin architecture @louis-jan (#535)
+- Fix mobile padding @imtuyethan (#550)
+- chore: Update Readme @dan-jan (#549)
+- Update Homepage and README with 1-line pitch @dan-jan (#548)
+- docs: Add About, Events, Blog @dan-jan (#546)
+- Ashley/update website content @imtuyethan (#545)
+- Add guides @hahuyhoang411 (#488)
+- Structure Docs @dan-jan (#536)
+- Update README.md @imtuyethan (#533)
+- Chore: Setup "Jan Improvements Proposal" workflow @dan-jan (#534)
+- Update website tag line @imtuyethan (#527)
+- fix: #396 - allow user to cancel a model download @louis-jan (#530)
+- fix: #479 - Toggle plugin is now experimental feature @louis-jan (#531)
+- chore: disable app update on test @louis-jan (#521)
+- bug: chat UI is not consistent @urmauur (#520)
+- refactor: plugin manager and execution as ts @louis-jan (#504)
+- fix: app toolbar is gone on windows @louis-jan (#503)
+- Chore: refactor code, hide plugin menu in web @ghost (#502)
+- fix: dest.end is not a function @louis-jan (#501)
+- #255: Jan cloud native @ghost (#320)
+- bug: download new version should show in status bar @urmauur (#500)
+- feat: add New Conversation button on the conversation sidebar @urmauur (#499)
+- chore: update plugin readme @louis-jan (#497)
+- chore: update plugins license @louis-jan (#496)
+- #255: Read plugins manifest from CDN @ghost (#495)
+- chore: update plugin sdk - add appDataPath @louis-jan (#492)
+- chore: enable back bot function for edge-release @louis-jan (#474)
+- chore: attempt to kill Nitro subprocesses @louis-jan (#484)
+- docs: new dev hub @0xSage (#450)
+
+## ๐ Features
+
+- feat: Experimental Feature Toggle @louis-jan (#525)
+
+## ๐ Bug Fixes
+
+- Add rebuild leveldown for arm on mac intel @hiento09 (#487)
+
+## ๐งฐ Maintenance
+
+- Bump nitro version from 0.1.4 to 0.1.6 @hiento09 (#581)
+- Add set yarn network timeout for uikit @hiento09 (#579)
+- Fix error CI e2e run failed on windows @hiento09 (#578)
+- Fix build plugins macos codesiging error @hiento09 (#576)
+- Add install nitro mac intel inference plugin build locally @hiento09 (#542)
+- Bump nitro version to 0.1.4 @hiento09 (#532)
+- Chore/update yarn dev script @hiento09 (#529)
+- Inference Plugin pull nitro binary from release @hiento09 (#524)
+- Correct version and license @hiento09 (#498)
+
+## Contributor
+
+@0xSage, @Vikram-2004, @dan-jan, @hahuyhoang411, @hiento09, @imtuyethan, @jan-service-account, @louis-jan, @namchuai, @tikikun, @urmauur, Han, James, John and nam-john-ho
diff --git a/docs/docs/guides/changelog/changelog-v0.3.2.mdx b/docs/docs/releases/changelog/changelog-v0.3.2.mdx
similarity index 97%
rename from docs/docs/guides/changelog/changelog-v0.3.2.mdx
rename to docs/docs/releases/changelog/changelog-v0.3.2.mdx
index b99bb7413..01e403ef9 100644
--- a/docs/docs/guides/changelog/changelog-v0.3.2.mdx
+++ b/docs/docs/releases/changelog/changelog-v0.3.2.mdx
@@ -1,5 +1,6 @@
---
sidebar_position: 10
+slug: /changelog/changelog-v0.3.2
---
# v0.3.2
@@ -7,39 +8,39 @@ For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.3
Highlighted Issue: [Issue #612: fix: disabled required env](https://github.com/janhq/jan/pull/612)
-## Changes
-
-- fix: disabled required env @urmauur (#612)
-- Install Posthog snippet @imtuyethan (#573)
-- web: google tag manager @urmauur (#562)
-- docs: fix syntax highlighting @0xSage (#602)
-- chore: remove past event @0xSage (#600)
-- docs: new docs @0xSage (#599)
-- [chore]: Update docs @dan-jan (#597)
-
-## ๐ Features
-
-- refactor: main electron with managers and handlers @louis-jan (#610)
-
-## ๐ Bug Fixes
-
-- Fix: Failed to load model - unload model nitro @louis-jan (#616)
-- Restore cpx nitro step in yarn script @hiento09 (#617)
-- fix(#591): prevent duplicate message id issue @namchuai (#595)
-- bug: cancelling a model download should be delete the model file on user data @urmauur (#613)
-- bug: fix weird padding vertical snippet code @urmauur (#608)
-- bug: Fix button download detect intel or apple silicon @urmauur (#609)
-- bug: enable delete conversation after deleted model @urmauur (#594)
-- bug: download modal should truncate model name @urmauur (#592)
-- bug: support multiple line input chat using Textarea instead @urmauur (#593)
-
-## ๐งฐ Maintenance
-
-- refactor: main electron with managers and handlers @louis-jan (#610)
-- Chore/refactor yarn script @hiento09 (#615)
-- fix: line height and update typography component @urmauur (#611)
-
-## Contributor
-
-@0xSage, @dan-jan, @hiento09, @imtuyethan, @jan-service-account, @louis-jan, @namchuai and @urmauur
+## Changes
+
+- fix: disabled required env @urmauur (#612)
+- Install Posthog snippet @imtuyethan (#573)
+- web: google tag manager @urmauur (#562)
+- docs: fix syntax highlighting @0xSage (#602)
+- chore: remove past event @0xSage (#600)
+- docs: new docs @0xSage (#599)
+- [chore]: Update docs @dan-jan (#597)
+
+## ๐ Features
+
+- refactor: main electron with managers and handlers @louis-jan (#610)
+
+## ๐ Bug Fixes
+
+- Fix: Failed to load model - unload model nitro @louis-jan (#616)
+- Restore cpx nitro step in yarn script @hiento09 (#617)
+- fix(#591): prevent duplicate message id issue @namchuai (#595)
+- bug: cancelling a model download should be delete the model file on user data @urmauur (#613)
+- bug: fix weird padding vertical snippet code @urmauur (#608)
+- bug: Fix button download detect intel or apple silicon @urmauur (#609)
+- bug: enable delete conversation after deleted model @urmauur (#594)
+- bug: download modal should truncate model name @urmauur (#592)
+- bug: support multiple line input chat using Textarea instead @urmauur (#593)
+
+## ๐งฐ Maintenance
+
+- refactor: main electron with managers and handlers @louis-jan (#610)
+- Chore/refactor yarn script @hiento09 (#615)
+- fix: line height and update typography component @urmauur (#611)
+
+## Contributor
+
+@0xSage, @dan-jan, @hiento09, @imtuyethan, @jan-service-account, @louis-jan, @namchuai and @urmauur
diff --git a/docs/docs/guides/changelog/changelog-v0.3.3.mdx b/docs/docs/releases/changelog/changelog-v0.3.3.mdx
similarity index 98%
rename from docs/docs/guides/changelog/changelog-v0.3.3.mdx
rename to docs/docs/releases/changelog/changelog-v0.3.3.mdx
index 89648b0f6..9d8e75076 100644
--- a/docs/docs/guides/changelog/changelog-v0.3.3.mdx
+++ b/docs/docs/releases/changelog/changelog-v0.3.3.mdx
@@ -1,5 +1,6 @@
---
sidebar_position: 9
+slug: /changelog/changelog-v0.3.3
---
# v0.3.3
@@ -7,94 +8,94 @@ For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.3
Highlighted Issue: [Issue #719: docs: cleanup](https://github.com/janhq/jan/pull/719)
-## Changes
-
-- docs: cleanup @0xSage (#719)
-- docs: threads and messages @0xSage (#681)
-- Updating Onboarding Kit @Diane0111 (#675)
-- Update issue templates @0xSage (#685)
-- docs: polish models spec @0xSage (#680)
-- Feature: Preview URL for each PR and add pre-release.jan.ai as staging of Jan Docs @hiento09 (#669)
-- Migrate Model definitions to Swagger/OpenAPI @dan-jan (#659)
-- [docs] Add Introduction and refactor Models Spec @dan-jan (#657)
-- docs: Add model methods to swagger @0xSage (#660)
-- Models Spec: Delete broken Markdown links @dan-jan (#648)
-- docs: assistants and threads specs @0xSage (#646)
-
-## ๐ Features
-
-- improvement: styling message action toolbar @urmauur (#737)
-- experimental: allow user to give instruction for the conversation @louis-jan (#714)
-- docs/enable-seo-docusaurus @hieu-jan (#725)
-- Add windows code sign to CI @hiento09 (#712)
-- docs: update installation guide @hieu-jan (#664)
-- chore: Update based on team discussion on Nov 20 @vuonghoainam (#673)
-- docs: add OpenAI swagger file @hieu-jan (#623)
-- Update landing page Jan @urmauur (#638)
-
-## ๐ Bug Fixes
-
-- chore: open app data should lead user to jan root @louis-jan (#749)
-- fix: cancel download does not work @louis-jan (#746)
-- fix: error when switching between threads @louis-jan (#736)
-- chore: app raises error when attempting to start a model that is already starting @louis-jan (#721)
-- bug: fix filter list menu from command base on search type and make a symbol base on OS @urmauur (#723)
-- bug: fix clickable small download button on chat screen @urmauur (#722)
-- fix: incorrect update progress bar visibility check @louis-jan (#713)
-- fix: app shows wrong performance tag, all say not enough ram on windows @louis-jan (#699)
-- bug: fix padding quotations and numbering list @urmauur (#695)
-- fix: local npm module update does not reflect web app @louis-jan (#677)
-- [bug] fix markdown todo items shifted to the left and remove the dots @urmauur (#694)
-- bug: fix footer and section spacing landing page @urmauur (#683)
-- bug: fix anchor link sidebar openapi @urmauur (#668)
-- refactor: remove unused hooks and resolve no-explicit-any @louis-jan (#647)
-- bug: fix titles should have spaces in between @urmauur (#652)
-- bug: fix compatibility content not fully display @urmauur (#653)
-
-## ๐งฐ Maintenance
-
-- chore: fix app grammar @0xSage (#750)
-- chore: bumb nitro version @louis-jan (#740)
-- chore: fs module should not cover app logic @louis-jan (#720)
-- API Reference for Models, Messages, Threads @hahuyhoang411 (#679)
-- docs: upgrade mdx-js package @hieu-jan (#705)
-- [docs] Update Docusaurus to 3.0 and fix closing tag issue in Handbook @dan-jan (#704)
-- Fix error docs pipeline run failed @hiento09 (#702)
-- Revert docs CICD trigger on push to main instead of tag-based @hiento09 (#698)
-- fix: local npm module update does not reflect web app @louis-jan (#677)
-- Chore: refactor to makefile @hiento09 (#691)
-- Add Instruction to publish docs @hiento09 (#687)
-- chore/add-mermaid @hieu-jan (#672)
-- chore/update package docs @hieu-jan (#670)
-- Enhance Cross-Platform Argument Handling for Nitro Startup Scripts @hiento09 (#674)
-- refactor: remove unused hooks and resolve no-explicit-any @louis-jan (#647)
-- docs: add OpenAI swagger file @hieu-jan (#623)
-- Preliminary Restructure of Docs @dan-jan (#655)
-- Model specs @vuonghoainam (#641)
-- refactor: refactor app entities @louis-jan (#626)
-- refactor: move file to jan root @namchuai (#598)
-- Add run-script-os @linhtran174 (#620)
-- Refactor Jan Documentation @dan-jan (#625)
-
-## ๐ Documentaion
-
-- docs: update specs/product @0xSage (#744)
-- docs/enable-seo-docusaurus @hieu-jan (#725)
-- docs: assistant spec @vuonghoainam (#707)
-- docs: Refactor Jan Site Structure @dan-jan (#706)
-- docs/improve install docs @hieu-jan (#708)
-- API Reference for Models, Messages, Threads @hahuyhoang411 (#679)
-- [docs] Update Docusaurus to 3.0 and fix closing tag issue in Handbook @dan-jan (#704)
-- docs: update installation guide @hieu-jan (#664)
-- chore: Update based on team discussion on Nov 20 @vuonghoainam (#673)
-- docs: add OpenAI swagger file @hieu-jan (#623)
-- Preliminary Restructure of Docs @dan-jan (#655)
-- Fix: specs revision @vuonghoainam (#649)
-- Model specs @vuonghoainam (#641)
-- Update README.md @imtuyethan (#629)
-- Refactor Jan Documentation @dan-jan (#625)
-
-## Contributor
-
-@0xSage, @Diane0111, @dan-jan, @hahuyhoang411, @hiento09, @hieu-jan, @imtuyethan, @linhtran174, @louis-jan, @namchuai, @urmauur, @vuonghoainam and Le Tra Mi
+## Changes
+
+- docs: cleanup @0xSage (#719)
+- docs: threads and messages @0xSage (#681)
+- Updating Onboarding Kit @Diane0111 (#675)
+- Update issue templates @0xSage (#685)
+- docs: polish models spec @0xSage (#680)
+- Feature: Preview URL for each PR and add pre-release.jan.ai as staging of Jan Docs @hiento09 (#669)
+- Migrate Model definitions to Swagger/OpenAPI @dan-jan (#659)
+- [docs] Add Introduction and refactor Models Spec @dan-jan (#657)
+- docs: Add model methods to swagger @0xSage (#660)
+- Models Spec: Delete broken Markdown links @dan-jan (#648)
+- docs: assistants and threads specs @0xSage (#646)
+
+## ๐ Features
+
+- improvement: styling message action toolbar @urmauur (#737)
+- experimental: allow user to give instruction for the conversation @louis-jan (#714)
+- docs/enable-seo-docusaurus @hieu-jan (#725)
+- Add windows code sign to CI @hiento09 (#712)
+- docs: update installation guide @hieu-jan (#664)
+- chore: Update based on team discussion on Nov 20 @vuonghoainam (#673)
+- docs: add OpenAI swagger file @hieu-jan (#623)
+- Update landing page Jan @urmauur (#638)
+
+## ๐ Bug Fixes
+
+- chore: open app data should lead user to jan root @louis-jan (#749)
+- fix: cancel download does not work @louis-jan (#746)
+- fix: error when switching between threads @louis-jan (#736)
+- chore: app raises error when attempting to start a model that is already starting @louis-jan (#721)
+- bug: fix filter list menu from command base on search type and make a symbol base on OS @urmauur (#723)
+- bug: fix clickable small download button on chat screen @urmauur (#722)
+- fix: incorrect update progress bar visibility check @louis-jan (#713)
+- fix: app shows wrong performance tag, all say not enough ram on windows @louis-jan (#699)
+- bug: fix padding quotations and numbering list @urmauur (#695)
+- fix: local npm module update does not reflect web app @louis-jan (#677)
+- [bug] fix markdown todo items shifted to the left and remove the dots @urmauur (#694)
+- bug: fix footer and section spacing landing page @urmauur (#683)
+- bug: fix anchor link sidebar openapi @urmauur (#668)
+- refactor: remove unused hooks and resolve no-explicit-any @louis-jan (#647)
+- bug: fix titles should have spaces in between @urmauur (#652)
+- bug: fix compatibility content not fully display @urmauur (#653)
+
+## ๐งฐ Maintenance
+
+- chore: fix app grammar @0xSage (#750)
+- chore: bumb nitro version @louis-jan (#740)
+- chore: fs module should not cover app logic @louis-jan (#720)
+- API Reference for Models, Messages, Threads @hahuyhoang411 (#679)
+- docs: upgrade mdx-js package @hieu-jan (#705)
+- [docs] Update Docusaurus to 3.0 and fix closing tag issue in Handbook @dan-jan (#704)
+- Fix error docs pipeline run failed @hiento09 (#702)
+- Revert docs CICD trigger on push to main instead of tag-based @hiento09 (#698)
+- fix: local npm module update does not reflect web app @louis-jan (#677)
+- Chore: refactor to makefile @hiento09 (#691)
+- Add Instruction to publish docs @hiento09 (#687)
+- chore/add-mermaid @hieu-jan (#672)
+- chore/update package docs @hieu-jan (#670)
+- Enhance Cross-Platform Argument Handling for Nitro Startup Scripts @hiento09 (#674)
+- refactor: remove unused hooks and resolve no-explicit-any @louis-jan (#647)
+- docs: add OpenAI swagger file @hieu-jan (#623)
+- Preliminary Restructure of Docs @dan-jan (#655)
+- Model specs @vuonghoainam (#641)
+- refactor: refactor app entities @louis-jan (#626)
+- refactor: move file to jan root @namchuai (#598)
+- Add run-script-os @linhtran174 (#620)
+- Refactor Jan Documentation @dan-jan (#625)
+
+## ๐ Documentaion
+
+- docs: update specs/product @0xSage (#744)
+- docs/enable-seo-docusaurus @hieu-jan (#725)
+- docs: assistant spec @vuonghoainam (#707)
+- docs: Refactor Jan Site Structure @dan-jan (#706)
+- docs/improve install docs @hieu-jan (#708)
+- API Reference for Models, Messages, Threads @hahuyhoang411 (#679)
+- [docs] Update Docusaurus to 3.0 and fix closing tag issue in Handbook @dan-jan (#704)
+- docs: update installation guide @hieu-jan (#664)
+- chore: Update based on team discussion on Nov 20 @vuonghoainam (#673)
+- docs: add OpenAI swagger file @hieu-jan (#623)
+- Preliminary Restructure of Docs @dan-jan (#655)
+- Fix: specs revision @vuonghoainam (#649)
+- Model specs @vuonghoainam (#641)
+- Update README.md @imtuyethan (#629)
+- Refactor Jan Documentation @dan-jan (#625)
+
+## Contributor
+
+@0xSage, @Diane0111, @dan-jan, @hahuyhoang411, @hiento09, @hieu-jan, @imtuyethan, @linhtran174, @louis-jan, @namchuai, @urmauur, @vuonghoainam and Le Tra Mi
diff --git a/docs/docs/guides/changelog/changelog-v0.4.0.mdx b/docs/docs/releases/changelog/changelog-v0.4.0.mdx
similarity index 98%
rename from docs/docs/guides/changelog/changelog-v0.4.0.mdx
rename to docs/docs/releases/changelog/changelog-v0.4.0.mdx
index 9d81d0a00..3afa7849e 100644
--- a/docs/docs/guides/changelog/changelog-v0.4.0.mdx
+++ b/docs/docs/releases/changelog/changelog-v0.4.0.mdx
@@ -1,5 +1,6 @@
---
sidebar_position: 8
+slug: /changelog/changelog-v0.4.0
---
# v0.4.0
@@ -7,68 +8,68 @@ For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.4
Highlighted Issue: [Issue #878: bug: fix tag description showing a title and fix card right panel](https://github.com/janhq/jan/pull/878)
-## Changes
-
-- bug: fix tag description showing a title and fix card right panel @urmauur (#878)
-- fix/no-assistant-available-fresh-install @louis-jan (#876)
-- Model.json update @hahuyhoang411 (#870)
-- Hotfix desc for openhermes @hahuyhoang411 (#864)
-- Openhermes update v1 @hahuyhoang411 (#863)
-- update deepseek 1.3b @hahuyhoang411 (#858)
-- Update tags @hahuyhoang411 (#857)
-- Update model hub @hahuyhoang411 (#829)
-- hotfix: fix typo @tikikun (#836)
-- chore: pre-populate Jan's /models folder with model.jsons @hahuyhoang411 (#775)
-- chore: clarification changes to the model settings and model parameters @tikikun (#742)
-
-## ๐ Features
-
-- feat: revamp landing page @urmauur (#745)
-- feat : add cover image model hub screen @urmauur (#872)
-- feat: boilerplate for express server localhost 1337 @linhtran174 (#803)
-- enhancement: revamp hub screen @urmauur (#825)
-- feat: revamp thread screen @urmauur (#802)
-- docs/update-api-reference @hieu-jan (#739)
-- refactor: model plugin to follow new specs @namchuai (#682)
-
-## ๐ Fixes
-
-- fix: Nitro interface update to prevent warning @vuonghoainam (#877)
-- fix: delete message break the entire thread @louis-jan (#869)
-- fix: can not download multiple models at once @louis-jan (#867)
-- fix: production CI workflow does not populate models @louis-jan (#862)
-- fix: update wrong main view state when use a model @namchuai (#861)
-- fix: handle crash issue on hljs highlighting @louis-jan (#859)
-- fix: empty assistant instruction by default @louis-jan (#855)
-- bug: fix broken banner position hub screen @urmauur (#846)
-- fix: not update active model when using resend button @namchuai (#834)
-- Hotfix jan windows download nitro failed @hiento09 (#838)
-- Switch to download nitro .tar.gz file instead of .zip file on windows @hiento09 (#832)
-- fix/docusaurus-seo @hieu-jan (#818)
-- fix: CI script - reorder copy models action @louis-jan (#819)
-- fix: messages sync is not threadsafe @louis-jan (#784)
-- Fix Makefile Indentation Issue @hiento09 (#788)
-
-## ๐งฐ Maintenance
-
-- chore: update model ranking @louis-jan (#874)
-- Bump nitro version to 0.1.21 - nitro has windows codesign @hiento09 (#843)
-- Hotfix jan windows download nitro failed @hiento09 (#838)
-- 810 docs add modeljson and revamp models specs page @tikikun (#816)
-- Add document for nightly build and update message for manual build @hiento09 (#831)
-- chore: Bump nitro to 0.1.20 @vuonghoainam (#830)
-- Refactor build:extension command @hiento09 (#822)
-- feat: pre-populate Jan's /models folder @namchuai (#796)
-- chore: fix pr auto labeling @0xSage (#812)
-- chore: add gi automations @0xSage (#809)
-- refactor: jan extensions @louis-jan (#799)
-- Remove .zip in artifact name @hiento09 (#800)
-- docs/update-api-reference @hieu-jan (#739)
-- Add nightly build ci @hiento09 (#794)
-- Fix Makefile Indentation Issue @hiento09 (#788)
-- Switch from .zip to .tar.gz for nitro url inference plugin @hiento09 (#781)
-
-## Contributor
-
-@0xSage, @hahuyhoang411, @hiento09, @hieu-jan, @linhtran174, @louis-jan, @namchuai, @tikikun, @urmauur and @vuonghoainam
+## Changes
+
+- bug: fix tag description showing a title and fix card right panel @urmauur (#878)
+- fix/no-assistant-available-fresh-install @louis-jan (#876)
+- Model.json update @hahuyhoang411 (#870)
+- Hotfix desc for openhermes @hahuyhoang411 (#864)
+- Openhermes update v1 @hahuyhoang411 (#863)
+- update deepseek 1.3b @hahuyhoang411 (#858)
+- Update tags @hahuyhoang411 (#857)
+- Update model hub @hahuyhoang411 (#829)
+- hotfix: fix typo @tikikun (#836)
+- chore: pre-populate Jan's /models folder with model.jsons @hahuyhoang411 (#775)
+- chore: clarification changes to the model settings and model parameters @tikikun (#742)
+
+## ๐ Features
+
+- feat: revamp landing page @urmauur (#745)
+- feat : add cover image model hub screen @urmauur (#872)
+- feat: boilerplate for express server localhost 1337 @linhtran174 (#803)
+- enhancement: revamp hub screen @urmauur (#825)
+- feat: revamp thread screen @urmauur (#802)
+- docs/update-api-reference @hieu-jan (#739)
+- refactor: model plugin to follow new specs @namchuai (#682)
+
+## ๐ Fixes
+
+- fix: Nitro interface update to prevent warning @vuonghoainam (#877)
+- fix: delete message break the entire thread @louis-jan (#869)
+- fix: can not download multiple models at once @louis-jan (#867)
+- fix: production CI workflow does not populate models @louis-jan (#862)
+- fix: update wrong main view state when use a model @namchuai (#861)
+- fix: handle crash issue on hljs highlighting @louis-jan (#859)
+- fix: empty assistant instruction by default @louis-jan (#855)
+- bug: fix broken banner position hub screen @urmauur (#846)
+- fix: not update active model when using resend button @namchuai (#834)
+- Hotfix jan windows download nitro failed @hiento09 (#838)
+- Switch to download nitro .tar.gz file instead of .zip file on windows @hiento09 (#832)
+- fix/docusaurus-seo @hieu-jan (#818)
+- fix: CI script - reorder copy models action @louis-jan (#819)
+- fix: messages sync is not threadsafe @louis-jan (#784)
+- Fix Makefile Indentation Issue @hiento09 (#788)
+
+## ๐งฐ Maintenance
+
+- chore: update model ranking @louis-jan (#874)
+- Bump nitro version to 0.1.21 - nitro has windows codesign @hiento09 (#843)
+- Hotfix jan windows download nitro failed @hiento09 (#838)
+- 810 docs add modeljson and revamp models specs page @tikikun (#816)
+- Add document for nightly build and update message for manual build @hiento09 (#831)
+- chore: Bump nitro to 0.1.20 @vuonghoainam (#830)
+- Refactor build:extension command @hiento09 (#822)
+- feat: pre-populate Jan's /models folder @namchuai (#796)
+- chore: fix pr auto labeling @0xSage (#812)
+- chore: add gi automations @0xSage (#809)
+- refactor: jan extensions @louis-jan (#799)
+- Remove .zip in artifact name @hiento09 (#800)
+- docs/update-api-reference @hieu-jan (#739)
+- Add nightly build ci @hiento09 (#794)
+- Fix Makefile Indentation Issue @hiento09 (#788)
+- Switch from .zip to .tar.gz for nitro url inference plugin @hiento09 (#781)
+
+## Contributor
+
+@0xSage, @hahuyhoang411, @hiento09, @hieu-jan, @linhtran174, @louis-jan, @namchuai, @tikikun, @urmauur and @vuonghoainam
diff --git a/docs/docs/guides/changelog/changelog-v0.4.1.mdx b/docs/docs/releases/changelog/changelog-v0.4.1.mdx
similarity index 98%
rename from docs/docs/guides/changelog/changelog-v0.4.1.mdx
rename to docs/docs/releases/changelog/changelog-v0.4.1.mdx
index c1dc19d13..10cf4308a 100644
--- a/docs/docs/guides/changelog/changelog-v0.4.1.mdx
+++ b/docs/docs/releases/changelog/changelog-v0.4.1.mdx
@@ -1,5 +1,6 @@
---
sidebar_position: 7
+slug: /changelog/changelog-v0.4.1
---
# v0.4.1
@@ -7,55 +8,55 @@ For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.4
Highlighted Issue: [Issue #903: Update README.md](https://github.com/janhq/jan/pull/903)
-## Changes
-
-- Update README.md @imtuyethan (#903)
-
-## ๐ Features
-
-- feat: Kill nitro process with API - nitro 0.1.27 @vuonghoainam (#975)
-- feat: Inference Nitro with Prompt Template @hahuyhoang411 (#952)
-- feat: Add NVIDIA triton trt-llm extension @vuonghoainam (#888)
-- feat: Hotfit for Nitro loading on CPU with hyper-threading support @vuonghoainam (#931)
-- feat: adding model params @namchuai (#886)
-- feat: Multiple inference engines for nitro and openai @vuonghoainam (#814)
-- docs: add json schema for engine and model parameters @tikikun (#840)
-- feat: improve SEO keywords @hieu-jan (#894)
-- enhancement: fix spacing landing page responsive @urmauur (#891)
-- bug: added label coming soon for windows and linux @urmauur (#881)
-
-## ๐ Fixes
-
-- fix: 963 can not run openai models on windows @louis-jan (#974)
-- fix: Inference engine Nitro with Windows with/ without CUDA @vuonghoainam (#950)
-- Fix error Jan app linux crash @hiento09 (#958)
-- fix: windows bug - control buttons close,max,min hidden @linhtran174 (#949)
-- bug: fix ui landing page @urmauur (#937)
-- fix: model parameters for inference extensions @vuonghoainam (#935)
-- [bug] Fix floating border outside card right panel @urmauur (#934)
-- fix: import\_typescript.default.isTokenKind is not a function @louis-jan (#923)
-- bug: fix syntax formatting @urmauur (#899)
-- bug: update metadata title and desc @urmauur (#884)
-- fix: download button text color is blending into the background @louis-jan (#883)
-
-## ๐งฐ Maintenance
-
-- chore: add desktop app analytics @louis-jan (#978)
-- refactor: clean types and interfaces @0xSage (#966)
-- docs: scaffold dev docs @0xSage (#856)
-- chore: Bump nitro to 0.1.26 @vuonghoainam (#960)
-- Update update-release-url.yml @hiento09 (#951)
-- Fix update release url pipeline run failed @hiento09 (#947)
-- chore: Bumpt nitro bin version to version 0.1.23 @vuonghoainam (#942)
-- Fix update release url pipeline @hiento09 (#941)
-- CI automatically update Update README with Nightly Build Information and stable download URL @hiento09 (#940)
-- refactor: deprecate invokers - auto proxying apis - strict types @louis-jan (#924)
-- docs: standardize yaml files @hieu-jan (#933)
-- chore: universal module definition @louis-jan (#902)
-- docs: add assistants api reference @hieu-jan (#801)
-- docs: add json schema for engine and model parameters @tikikun (#840)
-
-## Contributor
-
-@0xSage, @hahuyhoang411, @hiento09, @hieu-jan, @imtuyethan, @jan-service-account, @linhtran174, @louis-jan, @namchuai, @tikikun, @urmauur and @vuonghoainam
+## Changes
+
+- Update README.md @imtuyethan (#903)
+
+## ๐ Features
+
+- feat: Kill nitro process with API - nitro 0.1.27 @vuonghoainam (#975)
+- feat: Inference Nitro with Prompt Template @hahuyhoang411 (#952)
+- feat: Add NVIDIA triton trt-llm extension @vuonghoainam (#888)
+- feat: Hotfit for Nitro loading on CPU with hyper-threading support @vuonghoainam (#931)
+- feat: adding model params @namchuai (#886)
+- feat: Multiple inference engines for nitro and openai @vuonghoainam (#814)
+- docs: add json schema for engine and model parameters @tikikun (#840)
+- feat: improve SEO keywords @hieu-jan (#894)
+- enhancement: fix spacing landing page responsive @urmauur (#891)
+- bug: added label coming soon for windows and linux @urmauur (#881)
+
+## ๐ Fixes
+
+- fix: 963 can not run openai models on windows @louis-jan (#974)
+- fix: Inference engine Nitro with Windows with/ without CUDA @vuonghoainam (#950)
+- Fix error Jan app linux crash @hiento09 (#958)
+- fix: windows bug - control buttons close,max,min hidden @linhtran174 (#949)
+- bug: fix ui landing page @urmauur (#937)
+- fix: model parameters for inference extensions @vuonghoainam (#935)
+- [bug] Fix floating border outside card right panel @urmauur (#934)
+- fix: import\_typescript.default.isTokenKind is not a function @louis-jan (#923)
+- bug: fix syntax formatting @urmauur (#899)
+- bug: update metadata title and desc @urmauur (#884)
+- fix: download button text color is blending into the background @louis-jan (#883)
+
+## ๐งฐ Maintenance
+
+- chore: add desktop app analytics @louis-jan (#978)
+- refactor: clean types and interfaces @0xSage (#966)
+- docs: scaffold dev docs @0xSage (#856)
+- chore: Bump nitro to 0.1.26 @vuonghoainam (#960)
+- Update update-release-url.yml @hiento09 (#951)
+- Fix update release url pipeline run failed @hiento09 (#947)
+- chore: Bumpt nitro bin version to version 0.1.23 @vuonghoainam (#942)
+- Fix update release url pipeline @hiento09 (#941)
+- CI automatically update Update README with Nightly Build Information and stable download URL @hiento09 (#940)
+- refactor: deprecate invokers - auto proxying apis - strict types @louis-jan (#924)
+- docs: standardize yaml files @hieu-jan (#933)
+- chore: universal module definition @louis-jan (#902)
+- docs: add assistants api reference @hieu-jan (#801)
+- docs: add json schema for engine and model parameters @tikikun (#840)
+
+## Contributor
+
+@0xSage, @hahuyhoang411, @hiento09, @hieu-jan, @imtuyethan, @jan-service-account, @linhtran174, @louis-jan, @namchuai, @tikikun, @urmauur and @vuonghoainam
diff --git a/docs/docs/guides/changelog/changelog-v0.4.2.mdx b/docs/docs/releases/changelog/changelog-v0.4.2.mdx
similarity index 97%
rename from docs/docs/guides/changelog/changelog-v0.4.2.mdx
rename to docs/docs/releases/changelog/changelog-v0.4.2.mdx
index f5c39d1e3..4b64ca7f4 100644
--- a/docs/docs/guides/changelog/changelog-v0.4.2.mdx
+++ b/docs/docs/releases/changelog/changelog-v0.4.2.mdx
@@ -1,5 +1,6 @@
---
sidebar_position: 6
+slug: /changelog/changelog-v0.4.2
---
# v0.4.2
@@ -7,43 +8,43 @@ For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.4
Highlighted Issue: [Issue #1033: Hotfix model hub](https://github.com/janhq/jan/pull/1033)
-## Changes
-
-- Hotfix model hub @hahuyhoang411 (#1033)
-- Update Model.json @hahuyhoang411 (#1005)
-
-## ๐ Features
-
-- feat: app theme depend on local storage instead native theme electron @urmauur (#1014)
-- feat: move stop inference button into the send button @urmauur (#1011)
-- feat: loader when starting model @urmauur (#945)
-- fix: enable download app linux @urmauur (#993)
-- fix: remove coming soon windows @urmauur (#986)
-
-## ๐ Fixes
-
-- fix: migrate new models @louis-jan (#1034)
-- fix: add input for api key remote model @urmauur (#1031)
-- fix bug #1013, enable posthog for release app version only @hiento09 (#1019)
-- fix: delete first message then regenerate again will break the thread @louis-jan (#1015)
-- fix: #995 - Fix onboarding state and model sorting @louis-jan (#1009)
-- fix: limit analytics events capture @louis-jan (#1012)
-- fix: wrong selected model right panel @urmauur (#1001)
-- fix: review finder and view as json @louis-jan (#1000)
-- fix: enable download app linux @urmauur (#993)
-
-## ๐งฐ Maintenance
-
-- chore: remigrate if there is no models dir @louis-jan (#1038)
-- bump nitro version to 0.1.30 @hiento09 (#1036)
-- chore: in app copy fixes @0xSage (#1032)
-- Separate posthog project for jan app and docs @hiento09 (#1029)
-- Update posthog capture url list @hiento09 (#1022)
-- docs: second half of "import model docs" PR @0xSage (#1021)
-- docs: how to import models @0xSage (#1020)
-- fix bug #1013, enable posthog for release app version only @hiento09 (#1019)
-
-## Contributor
-
-@0xSage, @hahuyhoang411, @hiento09, @jan-service-account, @louis-jan and @urmauur
+## Changes
+
+- Hotfix model hub @hahuyhoang411 (#1033)
+- Update Model.json @hahuyhoang411 (#1005)
+
+## ๐ Features
+
+- feat: app theme depend on local storage instead native theme electron @urmauur (#1014)
+- feat: move stop inference button into the send button @urmauur (#1011)
+- feat: loader when starting model @urmauur (#945)
+- fix: enable download app linux @urmauur (#993)
+- fix: remove coming soon windows @urmauur (#986)
+
+## ๐ Fixes
+
+- fix: migrate new models @louis-jan (#1034)
+- fix: add input for api key remote model @urmauur (#1031)
+- fix bug #1013, enable posthog for release app version only @hiento09 (#1019)
+- fix: delete first message then regenerate again will break the thread @louis-jan (#1015)
+- fix: #995 - Fix onboarding state and model sorting @louis-jan (#1009)
+- fix: limit analytics events capture @louis-jan (#1012)
+- fix: wrong selected model right panel @urmauur (#1001)
+- fix: review finder and view as json @louis-jan (#1000)
+- fix: enable download app linux @urmauur (#993)
+
+## ๐งฐ Maintenance
+
+- chore: remigrate if there is no models dir @louis-jan (#1038)
+- bump nitro version to 0.1.30 @hiento09 (#1036)
+- chore: in app copy fixes @0xSage (#1032)
+- Separate posthog project for jan app and docs @hiento09 (#1029)
+- Update posthog capture url list @hiento09 (#1022)
+- docs: second half of "import model docs" PR @0xSage (#1021)
+- docs: how to import models @0xSage (#1020)
+- fix bug #1013, enable posthog for release app version only @hiento09 (#1019)
+
+## Contributor
+
+@0xSage, @hahuyhoang411, @hiento09, @jan-service-account, @louis-jan and @urmauur
diff --git a/docs/docs/guides/changelog/changelog-v0.4.3.mdx b/docs/docs/releases/changelog/changelog-v0.4.3.mdx
similarity index 98%
rename from docs/docs/guides/changelog/changelog-v0.4.3.mdx
rename to docs/docs/releases/changelog/changelog-v0.4.3.mdx
index c40af7baf..2426f6280 100644
--- a/docs/docs/guides/changelog/changelog-v0.4.3.mdx
+++ b/docs/docs/releases/changelog/changelog-v0.4.3.mdx
@@ -1,5 +1,6 @@
---
sidebar_position: 5
+slug: /changelog/changelog-v0.4.3
---
# v0.4.3
@@ -7,62 +8,62 @@ For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.4
Highlighted Issue: [Issue #1159: Hotfix Prompt template for models on the Hub](https://github.com/janhq/jan/pull/1159)
-## Changes
-
-- Hotfix Prompt template for models on the Hub @hahuyhoang411 (#1159)
-- Update model list for new release @hahuyhoang411 (#1143)
-- fix(Thread): #1119 focus on the first thread to prevent blank chat screen @namchuai (#1127)
-- fix(Thread): #1064 message being added to wrong thread if switching thread @namchuai (#1108)
-- fix(Thread): #1042 allow create new thread by clicking Use in Jan Hub @namchuai (#1103)
-- feat(ModelSetting): #1065 update state of model setting between threads @namchuai (#1090)
-- Update model version @hahuyhoang411 (#1086)
-- fix: cache hallucinations and failed to load model due to race condition @louis-jan (#1071)
-- fix(thread): #1043 default model to prefer active model @namchuai (#1070)
-- Update issue templates @0xSage (#1058)
-- Update ctx\_len and max\_tokens @hahuyhoang411 (#1035)
-
-## ๐ Features
-
-- feat: Add codeQL analysis for push main and pr main @hiro-v (#1128)
-- Feature autoupdater for nightly build @hiento09 (#1068)
-- feat: copy button for code block @urmauur (#1062)
-- Enhancements to Dependency Installation and App Testing @hiento09 (#965)
-
-## ๐ Fixes
-
-- fix: error road map url @hieu-jan (#1153)
-- Fix token speed slow in machine has multi gpus @hiento09 (#1157)
-- fix: added dialog confirmation clean thread @urmauur (#1142)
-- fix: remove remote model from shortcut models dialog @urmauur (#1124)
-- fix: ui issue - all models are activated @louis-jan (#1120)
-- fix: should not hide empty message away @louis-jan (#1116)
-- fix: added tooltip for user cannot change model after starting thread @urmauur (#1115)
-- fix: remote model always active badges @urmauur (#1113)
-- fix: handle chat completion state with enter button @louis-jan (#1114)
-- fix: model active indicator only show when model activated @urmauur (#1110)
-- fix: #1096 yield error message upon thread switching @louis-jan (#1109)
-- fix: toaster success deleted thread showing id instead of active model @urmauur (#1111)
-- fix: update copy setting page @urmauur (#1105)
-- fix: search recommended model @urmauur (#1106)
-- fix: #1097 streaming response is replaced by error message @louis-jan (#1099)
-- Fix auto update windows Bug @hiento09 (#1102)
-- fix: added dialog confirmation when delete thread @urmauur (#1093)
-- fix: system monitor broken layout when responsive @urmauur (#1085)
-- bug: chatbox doesn't resize back down @urmauur (#1084)
-- fix: thread is broken after deleted first generated message @louis-jan (#1061)
-
-## ๐งฐ Maintenance
-
-- feat: Add codeQL analysis for push main and pr main @hiro-v (#1128)
-- docs: refactor dev docs, guides and specs @0xSage (#1092)
-- Correct jq command cause ci nightly build run failed @hiento09 (#1104)
-- Fix nightly build autoupdater @hiento09 (#1073)
-- Feature autoupdater for nightly build @hiento09 (#1068)
-- docs: Update product.md @0xSage (#1066)
-- Posthog disable click event and increase timeout for nitro load modelโฆ @hiento09 (#1060)
-- docs: improve quickstart docs @0xSage (#1047)
-
-## Contributor
-
-@0xSage, @hahuyhoang411, @hiento09, @hieu-jan, @hiro-v, @jan-service-account, @louis-jan, @namchuai and @urmauur
+## Changes
+
+- Hotfix Prompt template for models on the Hub @hahuyhoang411 (#1159)
+- Update model list for new release @hahuyhoang411 (#1143)
+- fix(Thread): #1119 focus on the first thread to prevent blank chat screen @namchuai (#1127)
+- fix(Thread): #1064 message being added to wrong thread if switching thread @namchuai (#1108)
+- fix(Thread): #1042 allow create new thread by clicking Use in Jan Hub @namchuai (#1103)
+- feat(ModelSetting): #1065 update state of model setting between threads @namchuai (#1090)
+- Update model version @hahuyhoang411 (#1086)
+- fix: cache hallucinations and failed to load model due to race condition @louis-jan (#1071)
+- fix(thread): #1043 default model to prefer active model @namchuai (#1070)
+- Update issue templates @0xSage (#1058)
+- Update ctx\_len and max\_tokens @hahuyhoang411 (#1035)
+
+## ๐ Features
+
+- feat: Add codeQL analysis for push main and pr main @hiro-v (#1128)
+- Feature autoupdater for nightly build @hiento09 (#1068)
+- feat: copy button for code block @urmauur (#1062)
+- Enhancements to Dependency Installation and App Testing @hiento09 (#965)
+
+## ๐ Fixes
+
+- fix: error road map url @hieu-jan (#1153)
+- Fix token speed slow in machine has multi gpus @hiento09 (#1157)
+- fix: added dialog confirmation clean thread @urmauur (#1142)
+- fix: remove remote model from shortcut models dialog @urmauur (#1124)
+- fix: ui issue - all models are activated @louis-jan (#1120)
+- fix: should not hide empty message away @louis-jan (#1116)
+- fix: added tooltip for user cannot change model after starting thread @urmauur (#1115)
+- fix: remote model always active badges @urmauur (#1113)
+- fix: handle chat completion state with enter button @louis-jan (#1114)
+- fix: model active indicator only show when model activated @urmauur (#1110)
+- fix: #1096 yield error message upon thread switching @louis-jan (#1109)
+- fix: toaster success deleted thread showing id instead of active model @urmauur (#1111)
+- fix: update copy setting page @urmauur (#1105)
+- fix: search recommended model @urmauur (#1106)
+- fix: #1097 streaming response is replaced by error message @louis-jan (#1099)
+- Fix auto update windows Bug @hiento09 (#1102)
+- fix: added dialog confirmation when delete thread @urmauur (#1093)
+- fix: system monitor broken layout when responsive @urmauur (#1085)
+- bug: chatbox doesn't resize back down @urmauur (#1084)
+- fix: thread is broken after deleted first generated message @louis-jan (#1061)
+
+## ๐งฐ Maintenance
+
+- feat: Add codeQL analysis for push main and pr main @hiro-v (#1128)
+- docs: refactor dev docs, guides and specs @0xSage (#1092)
+- Correct jq command cause ci nightly build run failed @hiento09 (#1104)
+- Fix nightly build autoupdater @hiento09 (#1073)
+- Feature autoupdater for nightly build @hiento09 (#1068)
+- docs: Update product.md @0xSage (#1066)
+- Posthog disable click event and increase timeout for nitro load modelโฆ @hiento09 (#1060)
+- docs: improve quickstart docs @0xSage (#1047)
+
+## Contributor
+
+@0xSage, @hahuyhoang411, @hiento09, @hieu-jan, @hiro-v, @jan-service-account, @louis-jan, @namchuai and @urmauur
diff --git a/docs/docs/guides/changelog/changelog-v0.4.4.mdx b/docs/docs/releases/changelog/changelog-v0.4.4.mdx
similarity index 98%
rename from docs/docs/guides/changelog/changelog-v0.4.4.mdx
rename to docs/docs/releases/changelog/changelog-v0.4.4.mdx
index bf179a8f4..f61e35c44 100644
--- a/docs/docs/guides/changelog/changelog-v0.4.4.mdx
+++ b/docs/docs/releases/changelog/changelog-v0.4.4.mdx
@@ -1,5 +1,6 @@
---
sidebar_position: 4
+slug: /changelog/changelog-v0.4.4
---
# v0.4.4
@@ -7,191 +8,191 @@ For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.4
Highlighted Issue: [Issue #1587: Update 2023-11-05-hello-world.md](https://github.com/janhq/jan/pull/1587)
-## Changes
-
-- Update 2023-11-05-hello-world.md @Ssstars (#1587)
-- fix(API): #1511 update swagger page @namchuai (#1572)
-- fix(Thread): #1212 thread.json not created when user change thread settings @namchuai (#1570)
-- fix(Thread): #1336 not allow creating too many unfinished thread @namchuai (#1538)
-- Update 01-how-to-get-involved-and-FAQ.mdx @Ssstars (#1555)
-- Update 01-how-to-get-involved-and-FAQ.mdx @Ssstars (#1553)
-- Update 02-embracing-pod-structure.mdx @Ssstars (#1550)
-- Update 01-how-we-hire.mdx @Ssstars (#1551)
-- Update 01-how-we-hire.mdx @Ssstars (#1524)
-- fix(InferenceExtension): #1067 sync the nitro process state @namchuai (#1493)
-- fix(Messages): #1434 create message via api does not display on app correctly @namchuai (#1479)
-- Docs for the Integration of Continue and Jan in VSCode @0xgokuz (#1467)
-- Chore: Update model.json for UI @hahuyhoang411 (#1448)
-- Docs for Installing Models from Hub @0xgokuz (#1450)
-- Update about.md @Ssstars (#1436)
-- feat(UI): #1404 make left side bar collapsible by hot key @namchuai (#1420)
-- docs: Typo in 06-hardware.md @akaMrNagar (#1408)
-- fix(API): #1409 fix wrong prefix for threads api @namchuai (#1410)
-- Update model hub @hahuyhoang411 (#1383)
-- fix(Model): remove unsupported default model setting params @namchuai (#1382)
-- fix(trinity): update cover path for trinity v1.2 @hahuyhoang411 (#1380)
-- Chore/update model hub @hahuyhoang411 (#1342)
-- Update about.md @Ssstars (#1359)
-- fix(JanHub): #1158 sort model list @namchuai (#1257)
-- fix(Message): open link with external browser @namchuai (#1339)
-- feat(Model): #1028 made model.json optional @namchuai (#1314)
-- docs: Update onboarding.md @Diane0111 (#1293)
-- fix: clean resource on exit @louis-jan (#1290)
-- fix: posthog configuration @hieu-jan (#1283)
-- docs: update README.md @eltociear (#1277)
-- Enable scrolling in the message chat box @Gri-ffin (#1280)
-- chore: Update README.md @sr-albert (#1263)
-- Adding new model to the Hub @hahuyhoang411 (#1213)
-- Feature GPU detection for Jan on Windows and Linux @hiento09 (#1242)
-- fix(Thread): #1168 fix newly created thread cannot select model after restart @namchuai (#1176)
-
-## ๐ Features
-
-- feat: add compatibility tag to model selection in right panel @urmauur (#1552)
-- Feature integrate antivirus scanner to ci @hiento09 (#1529)
-- feat: [hub] update compatibility tags colors @urmauur (#1516)
-- feat: hub recommendation labels @urmauur (#1440)
-- Feature linux support app image format @hiento09 (#1442)
-- fix: render external links @urmauur (#1441)
-- fix: add icon collapsible left panel and update keyboard shortcut page @urmauur (#1439)
-- feat(UI): update UI footer @urmauur (#1424)
-- Fix Bug for Chat Reply Goes off Screen @mishrababhishek (#1393)
-- feat: move social media from left panel into footer @urmauur (#1325)
-- feat: implementation new UI thread settings @urmauur (#1301)
-- Bring social media links @Gri-ffin (#1295)
-- feat: added keyboard shortcut list in setting page @urmauur (#1275)
-- feat: add swagger /docs to localhost:1337 @louis-jan (#1268)
-- feat: update posthog configuration @hieu-jan (#1258)
-- feat: Deprecate model.json ready state in favor of .download ext @louis-jan (#1238)
-- feat: add engine settings @namchuai (#1199)
-- feat: users should be able to switch models mid-thread @louis-jan (#1226)
-- feat: temporary link how to import model @urmauur (#1209)
-
-## ๐ Fixes
-
-- fix: #1594 - Model settings - change thread model - go back does not see according settings @louis-jan (#1595)
-- fix: #1548 - duplicate command shortcut instruction @louis-jan (#1600)
-- fix: switch model caused app crash @louis-jan (#1597)
-- fix: #1559 Inference Parameters displayed on new thread with Openai GPT Model @louis-jan (#1588)
-- fix: enable user set value manually model setting from input @urmauur (#1585)
-- fix: #1569 - Does not apply thread settings when loading model @louis-jan (#1576)
-- fix: could not change model params settings @louis-jan (#1547)
-- fix: gpu check module export does not work in extension @louis-jan (#1536)
-- fix: adjust calculation hub labels using total RAM instead remaining RAM @urmauur (#1522)
-- Feature integrate antivirus scanner to ci @hiento09 (#1529)
-- fix: allow users to set max tokens variably @urmauur (#1513)
-- fix: stop word update @louis-jan (#1457)
-- Revert nitro to 0.2.6 @hiento09 (#1491)
-- fix: enable text selection codeblock @urmauur (#1466)
-- fix: suppress all main node JS error message dialog @louis-jan (#1460)
-- Correct AppImage path @hiento09 (#1446)
-- fix: render external links @urmauur (#1441)
-- fix: add icon collapsible left panel and update keyboard shortcut page @urmauur (#1439)
-- fix: GET /models does not work due to new default model dir @louis-jan (#1392)
-- fix: model migration stopped working @louis-jan (#1378)
-- fix: wrong condition for displaying error message @louis-jan (#1376)
-- fix: show hide section engine params @urmauur (#1374)
-- fix: copy stream tooltip and hide section when no params setting @urmauur (#1373)
-- bugs: fix stop streaming when user delete or clean thread @urmauur (#1347)
-- fix: show a proper error message on download failure @louis-jan (#1345)
-- Add detect cuda version jan app @hiento09 (#1351)
-- fix: Error occurred: Unexpected token "d", "data: ..." is not a valid JSON @louis-jan (#1332)
-- fix: app getting stuck at downloading 99% while downloading model @louis-jan (#1320)
-- correct type utf-8 @hiento09 (#1311)
-- Fix memory on mac included cached and swap @hiento09 (#1298)
-- fix: should check app dir before spawning log @louis-jan (#1297)
-- fix: disable process logging from server @louis-jan (#1296)
-- fix: user should be able to access Swagger docs from localhost:1337 @louis-jan (#1292)
-- Switch from Gigabyte to Gibibyte - System monitor @hiento09 (#1286)
-- Switch from systeminformation to os-utils to resolve Bitdefender false positive and memory leak issue @hiento09 (#1282)
-- fix: swagger CSP issue @louis-jan (#1284)
-- fix: support markdown break line @urmauur (#1274)
-- fix ci test run failed @hiento09 (#1267)
-- Fix wrong linux nitro path @hiento09 (#1266)
-- fix: enable command enter on dialog confirmation clean thread @urmauur (#1261)
-- fix: input message duplicated due with some input sources @louis-jan (#1259)
-- fix: mac users should not see GPU settings @louis-jan (#1255)
-- fix: remove redundant gpu detection prompt event @louis-jan (#1254)
-- fix: engine settings GUI - feature toggle @louis-jan (#1252)
-- Fix bug #1178 high ram on windows @hiento09 (#1241)
-- fix: #1183 Reveal in finder does not work on windows @namchuai (#1239)
-- fix: remove delay tooltip and click event @urmauur (#1217)
-- fix: enable enter command on dialog confirmation delete thread @urmauur (#1218)
-- fix: Cleared thread last message is not updated @louis-jan (#1225)
-- Fix switch thread crash nitro windows linux @hiento09 (#1214)
-- fix: darkmode broken color @urmauur (#1186)
-
-## ๐งฐ Maintenance
-
-- chore: typo model.json @louis-jan (#1599)
-- docs: add 04-how-to-get-error-logs.mdx @hieu-jan (#1580)
-- chore: teach how to attach logs @0xSage (#1578)
-- chore: issues should auto close with PRs through template @0xSage (#1577)
-- chore: Update issue templates @0xSage (#1568)
-- docs: fix x handles @0xSage (#1532)
-- Docs to integrate OpenRouter with Jan without UI/UX @0xgokuz (#1495)
-- chore: fix darkmode docs @hieu-jan (#1520)
-- docs: fix algolia configuration @hieu-jan (#1518)
-- docs: fix algolia configuration @hieu-jan (#1517)
-- Revert URL release in readme to version 0.4.3 @hiento09 (#1502)
-- refactor: add app and nitro log - resolve dependencies issue @louis-jan (#1447)
-- chore: enable agolia @hieu-jan (#1497)
-- docs: update troubleshooting and redirects old pages @hieu-jan (#1492)
-- docs: minor fix @hieu-jan (#1478)
-- docs: initial handbook structure @hieu-jan (#1477)
-- Bump nitro to 0.2.8 and change Jan App to support cuda >= 11.7 @hiento09 (#1476)
-- Chore update docs jan - add AppImage instruction to docusaurus @hiento09 (#1480)
-- Bump nitro to 0.2.7 @hiento09 (#1474)
-- chore: error message update @louis-jan (#1473)
-- docs: Update 02-import-manually.mdx @0xSage (#1469)
-- docs: Update about.md @0xSage (#1465)
-- Bump nitro version to 0.2.6 @hiento09 (#1458)
-- docs: adding customize engine settings @hieu-jan (#1455)
-- docs: add-missing-path @hieu-jan (#1454)
-- docs: resize gif @hieu-jan (#1453)
-- docs: revenue philosophy @0xSage (#1443)
-- docs: jan framework principles @0xSage (#1438)
-- docs: fix typo in docs @hieu-jan (#1419)
-- chore: clean up use os hook @namchuai (#1418)
-- docs: explain each docs page intent @0xSage (#1417)
-- docs: Update 01-server.md @0xSage (#1416)
-- Update warning url from github md file to jan.ai docs site @hiento09 (#1414)
-- docs: improve gpu not used guide @hieu-jan (#1405)
-- chore: update README.md @eltociear (#1406)
-- Update USAGE docs for linux @hiento09 (#1401)
-- docs: gpu not detected @0xSage (#1399)
-- docs: Troubleshoot Failed To Fetch @gabrielle-ong (#1398)
-- docs: improve docs syntax @hieu-jan (#1394)
-- docs: add-install-nightly-guide @hieu-jan (#1390)
-- docs: correct href link @hieu-jan (#1338)
-- docs: fix chat payload and cURL @hieu-jan (#1360)
-- docs: add Chatting Guide @hieu-jan (#1184)
-- Chore add docs usage how to switch run mode jan app @hiento09 (#1353)
-- docs: configure index page @hieu-jan (#1330)
-- docs: Update product.md @0xSage (#1326)
-- docs: Update 01-server.md @0xSage (#1327)
-- refactor: deprecate the appVersion IPC and use the predefined VERSION @louis-jan (#1309)
-- docs: update using models documentation @hieu-jan (#1288)
-- docs: update pm handbook @0xSage (#1307)
-- docs: contributor docs overview @0xSage (#1305)
-- chore: github PR template @0xSage (#1304)
-- Fix memory on mac included cached and swap @hiento09 (#1298)
-- Enrich discord message for nightly build url @hiento09 (#1294)
-- Refactor CI by create shared jobs output @hiento09 (#1287)
-- docs: update README.md @hieu-jan (#1281)
-- docs: Update README.md @0xSage (#1248)
-- feat: Jan Server, API and decoupled clients @louis-jan (#948)
-- docs: improve 02-import-manually @hieu-jan (#1222)
-- chore: Update issue templates @0xSage (#1229)
-- docs: Update 02-import-manually.mdx @0xSage (#1197)
-- add sleep 500ms if platform is windows before starting nitro process @hiento09 (#1215)
-- docs: improve troubleshoot documentation @hieu-jan (#1173)
-- docs: update bug report template @hieu-jan (#1180)
-- docs: add troubleshooting @hieu-jan (#1169)
-- chore: copy fixes @0xSage (#1167)
-- docs: Update 01-start-thread.md @0xSage (#1122)
-
-## Contributor
-
-@0xSage, @0xgokuz, @Diane0111, @Gri-ffin, @Ssstars, @akaMrNagar, @eltociear, @gabrielle-ong, @hahuyhoang411, @hiento09, @hieu-jan, @jan-service-account, @louis-jan, @mishrababhishek, @namchuai, @sr-albert, @urmauur and Abhishek Mishra
+## Changes
+
+- Update 2023-11-05-hello-world.md @Ssstars (#1587)
+- fix(API): #1511 update swagger page @namchuai (#1572)
+- fix(Thread): #1212 thread.json not created when user change thread settings @namchuai (#1570)
+- fix(Thread): #1336 not allow creating too many unfinished thread @namchuai (#1538)
+- Update 01-how-to-get-involved-and-FAQ.mdx @Ssstars (#1555)
+- Update 01-how-to-get-involved-and-FAQ.mdx @Ssstars (#1553)
+- Update 02-embracing-pod-structure.mdx @Ssstars (#1550)
+- Update 01-how-we-hire.mdx @Ssstars (#1551)
+- Update 01-how-we-hire.mdx @Ssstars (#1524)
+- fix(InferenceExtension): #1067 sync the nitro process state @namchuai (#1493)
+- fix(Messages): #1434 create message via api does not display on app correctly @namchuai (#1479)
+- Docs for the Integration of Continue and Jan in VSCode @0xgokuz (#1467)
+- Chore: Update model.json for UI @hahuyhoang411 (#1448)
+- Docs for Installing Models from Hub @0xgokuz (#1450)
+- Update about.md @Ssstars (#1436)
+- feat(UI): #1404 make left side bar collapsible by hot key @namchuai (#1420)
+- docs: Typo in 06-hardware.md @akaMrNagar (#1408)
+- fix(API): #1409 fix wrong prefix for threads api @namchuai (#1410)
+- Update model hub @hahuyhoang411 (#1383)
+- fix(Model): remove unsupported default model setting params @namchuai (#1382)
+- fix(trinity): update cover path for trinity v1.2 @hahuyhoang411 (#1380)
+- Chore/update model hub @hahuyhoang411 (#1342)
+- Update about.md @Ssstars (#1359)
+- fix(JanHub): #1158 sort model list @namchuai (#1257)
+- fix(Message): open link with external browser @namchuai (#1339)
+- feat(Model): #1028 made model.json optional @namchuai (#1314)
+- docs: Update onboarding.md @Diane0111 (#1293)
+- fix: clean resource on exit @louis-jan (#1290)
+- fix: posthog configuration @hieu-jan (#1283)
+- docs: update README.md @eltociear (#1277)
+- Enable scrolling in the message chat box @Gri-ffin (#1280)
+- chore: Update README.md @sr-albert (#1263)
+- Adding new model to the Hub @hahuyhoang411 (#1213)
+- Feature GPU detection for Jan on Windows and Linux @hiento09 (#1242)
+- fix(Thread): #1168 fix newly created thread cannot select model after restart @namchuai (#1176)
+
+## ๐ Features
+
+- feat: add compatibility tag to model selection in right panel @urmauur (#1552)
+- Feature integrate antivirus scanner to ci @hiento09 (#1529)
+- feat: [hub] update compatibility tags colors @urmauur (#1516)
+- feat: hub recommendation labels @urmauur (#1440)
+- Feature linux support app image format @hiento09 (#1442)
+- fix: render external links @urmauur (#1441)
+- fix: add icon collapsible left panel and update keyboard shortcut page @urmauur (#1439)
+- feat(UI): update UI footer @urmauur (#1424)
+- Fix Bug for Chat Reply Goes off Screen @mishrababhishek (#1393)
+- feat: move social media from left panel into footer @urmauur (#1325)
+- feat: implementation new UI thread settings @urmauur (#1301)
+- Bring social media links @Gri-ffin (#1295)
+- feat: added keyboard shortcut list in setting page @urmauur (#1275)
+- feat: add swagger /docs to localhost:1337 @louis-jan (#1268)
+- feat: update posthog configuration @hieu-jan (#1258)
+- feat: Deprecate model.json ready state in favor of .download ext @louis-jan (#1238)
+- feat: add engine settings @namchuai (#1199)
+- feat: users should be able to switch models mid-thread @louis-jan (#1226)
+- feat: temporary link how to import model @urmauur (#1209)
+
+## ๐ Fixes
+
+- fix: #1594 - Model settings - change thread model - go back does not see according settings @louis-jan (#1595)
+- fix: #1548 - duplicate command shortcut instruction @louis-jan (#1600)
+- fix: switch model caused app crash @louis-jan (#1597)
+- fix: #1559 Inference Parameters displayed on new thread with Openai GPT Model @louis-jan (#1588)
+- fix: enable user set value manually model setting from input @urmauur (#1585)
+- fix: #1569 - Does not apply thread settings when loading model @louis-jan (#1576)
+- fix: could not change model params settings @louis-jan (#1547)
+- fix: gpu check module export does not work in extension @louis-jan (#1536)
+- fix: adjust calculation hub labels using total RAM instead remaining RAM @urmauur (#1522)
+- Feature integrate antivirus scanner to ci @hiento09 (#1529)
+- fix: allow users to set max tokens variably @urmauur (#1513)
+- fix: stop word update @louis-jan (#1457)
+- Revert nitro to 0.2.6 @hiento09 (#1491)
+- fix: enable text selection codeblock @urmauur (#1466)
+- fix: suppress all main node JS error message dialog @louis-jan (#1460)
+- Correct AppImage path @hiento09 (#1446)
+- fix: render external links @urmauur (#1441)
+- fix: add icon collapsible left panel and update keyboard shortcut page @urmauur (#1439)
+- fix: GET /models does not work due to new default model dir @louis-jan (#1392)
+- fix: model migration stopped working @louis-jan (#1378)
+- fix: wrong condition for displaying error message @louis-jan (#1376)
+- fix: show hide section engine params @urmauur (#1374)
+- fix: copy stream tooltip and hide section when no params setting @urmauur (#1373)
+- bugs: fix stop streaming when user delete or clean thread @urmauur (#1347)
+- fix: show a proper error message on download failure @louis-jan (#1345)
+- Add detect cuda version jan app @hiento09 (#1351)
+- fix: Error occurred: Unexpected token "d", "data: ..." is not a valid JSON @louis-jan (#1332)
+- fix: app getting stuck at downloading 99% while downloading model @louis-jan (#1320)
+- correct type utf-8 @hiento09 (#1311)
+- Fix memory on mac included cached and swap @hiento09 (#1298)
+- fix: should check app dir before spawning log @louis-jan (#1297)
+- fix: disable process logging from server @louis-jan (#1296)
+- fix: user should be able to access Swagger docs from localhost:1337 @louis-jan (#1292)
+- Switch from Gigabyte to Gibibyte - System monitor @hiento09 (#1286)
+- Switch from systeminformation to os-utils to resolve Bitdefender false positive and memory leak issue @hiento09 (#1282)
+- fix: swagger CSP issue @louis-jan (#1284)
+- fix: support markdown break line @urmauur (#1274)
+- fix ci test run failed @hiento09 (#1267)
+- Fix wrong linux nitro path @hiento09 (#1266)
+- fix: enable command enter on dialog confirmation clean thread @urmauur (#1261)
+- fix: input message duplicated due with some input sources @louis-jan (#1259)
+- fix: mac users should not see GPU settings @louis-jan (#1255)
+- fix: remove redundant gpu detection prompt event @louis-jan (#1254)
+- fix: engine settings GUI - feature toggle @louis-jan (#1252)
+- Fix bug #1178 high ram on windows @hiento09 (#1241)
+- fix: #1183 Reveal in finder does not work on windows @namchuai (#1239)
+- fix: remove delay tooltip and click event @urmauur (#1217)
+- fix: enable enter command on dialog confirmation delete thread @urmauur (#1218)
+- fix: Cleared thread last message is not updated @louis-jan (#1225)
+- Fix switch thread crash nitro windows linux @hiento09 (#1214)
+- fix: darkmode broken color @urmauur (#1186)
+
+## ๐งฐ Maintenance
+
+- chore: typo model.json @louis-jan (#1599)
+- docs: add 04-how-to-get-error-logs.mdx @hieu-jan (#1580)
+- chore: teach how to attach logs @0xSage (#1578)
+- chore: issues should auto close with PRs through template @0xSage (#1577)
+- chore: Update issue templates @0xSage (#1568)
+- docs: fix x handles @0xSage (#1532)
+- Docs to integrate OpenRouter with Jan without UI/UX @0xgokuz (#1495)
+- chore: fix darkmode docs @hieu-jan (#1520)
+- docs: fix algolia configuration @hieu-jan (#1518)
+- docs: fix algolia configuration @hieu-jan (#1517)
+- Revert URL release in readme to version 0.4.3 @hiento09 (#1502)
+- refactor: add app and nitro log - resolve dependencies issue @louis-jan (#1447)
+- chore: enable agolia @hieu-jan (#1497)
+- docs: update troubleshooting and redirects old pages @hieu-jan (#1492)
+- docs: minor fix @hieu-jan (#1478)
+- docs: initial handbook structure @hieu-jan (#1477)
+- Bump nitro to 0.2.8 and change Jan App to support cuda >= 11.7 @hiento09 (#1476)
+- Chore update docs jan - add AppImage instruction to docusaurus @hiento09 (#1480)
+- Bump nitro to 0.2.7 @hiento09 (#1474)
+- chore: error message update @louis-jan (#1473)
+- docs: Update 02-import-manually.mdx @0xSage (#1469)
+- docs: Update about.md @0xSage (#1465)
+- Bump nitro version to 0.2.6 @hiento09 (#1458)
+- docs: adding customize engine settings @hieu-jan (#1455)
+- docs: add-missing-path @hieu-jan (#1454)
+- docs: resize gif @hieu-jan (#1453)
+- docs: revenue philosophy @0xSage (#1443)
+- docs: jan framework principles @0xSage (#1438)
+- docs: fix typo in docs @hieu-jan (#1419)
+- chore: clean up use os hook @namchuai (#1418)
+- docs: explain each docs page intent @0xSage (#1417)
+- docs: Update 01-server.md @0xSage (#1416)
+- Update warning url from github md file to jan.ai docs site @hiento09 (#1414)
+- docs: improve gpu not used guide @hieu-jan (#1405)
+- chore: update README.md @eltociear (#1406)
+- Update USAGE docs for linux @hiento09 (#1401)
+- docs: gpu not detected @0xSage (#1399)
+- docs: Troubleshoot Failed To Fetch @gabrielle-ong (#1398)
+- docs: improve docs syntax @hieu-jan (#1394)
+- docs: add-install-nightly-guide @hieu-jan (#1390)
+- docs: correct href link @hieu-jan (#1338)
+- docs: fix chat payload and cURL @hieu-jan (#1360)
+- docs: add Chatting Guide @hieu-jan (#1184)
+- Chore add docs usage how to switch run mode jan app @hiento09 (#1353)
+- docs: configure index page @hieu-jan (#1330)
+- docs: Update product.md @0xSage (#1326)
+- docs: Update 01-server.md @0xSage (#1327)
+- refactor: deprecate the appVersion IPC and use the predefined VERSION @louis-jan (#1309)
+- docs: update using models documentation @hieu-jan (#1288)
+- docs: update pm handbook @0xSage (#1307)
+- docs: contributor docs overview @0xSage (#1305)
+- chore: github PR template @0xSage (#1304)
+- Fix memory on mac included cached and swap @hiento09 (#1298)
+- Enrich discord message for nightly build url @hiento09 (#1294)
+- Refactor CI by create shared jobs output @hiento09 (#1287)
+- docs: update README.md @hieu-jan (#1281)
+- docs: Update README.md @0xSage (#1248)
+- feat: Jan Server, API and decoupled clients @louis-jan (#948)
+- docs: improve 02-import-manually @hieu-jan (#1222)
+- chore: Update issue templates @0xSage (#1229)
+- docs: Update 02-import-manually.mdx @0xSage (#1197)
+- add sleep 500ms if platform is windows before starting nitro process @hiento09 (#1215)
+- docs: improve troubleshoot documentation @hieu-jan (#1173)
+- docs: update bug report template @hieu-jan (#1180)
+- docs: add troubleshooting @hieu-jan (#1169)
+- chore: copy fixes @0xSage (#1167)
+- docs: Update 01-start-thread.md @0xSage (#1122)
+
+## Contributor
+
+@0xSage, @0xgokuz, @Diane0111, @Gri-ffin, @Ssstars, @akaMrNagar, @eltociear, @gabrielle-ong, @hahuyhoang411, @hiento09, @hieu-jan, @jan-service-account, @louis-jan, @mishrababhishek, @namchuai, @sr-albert, @urmauur and Abhishek Mishra
diff --git a/docs/docs/guides/changelog/changelog-v0.4.5.mdx b/docs/docs/releases/changelog/changelog-v0.4.5.mdx
similarity index 98%
rename from docs/docs/guides/changelog/changelog-v0.4.5.mdx
rename to docs/docs/releases/changelog/changelog-v0.4.5.mdx
index 0627dd10b..d2e1d245b 100644
--- a/docs/docs/guides/changelog/changelog-v0.4.5.mdx
+++ b/docs/docs/releases/changelog/changelog-v0.4.5.mdx
@@ -1,5 +1,6 @@
---
sidebar_position: 3
+slug: /changelog/changelog-v0.4.5
---
# v0.4.5
@@ -7,96 +8,96 @@ For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.4
Highlighted Issue: [Issue #1758: bug: Correct text for Windows](https://github.com/janhq/jan/issues/1758)
-## Changes
-
-- fix(Wording): #1758 correct text for windows @namchuai (#1768)
-- fix(Log): server log is not display in windows @namchuai (#1764)
-- Release Cut v0.4.5 @louis-jan (#1752)
-- chore(nitro): 0.2.11 -> 0.2.12 @hiro-v (#1754)
-- fix: Nitro CPU threads with correct physical/ performance CPU count @hiro-v (#1726)
-- fix(Model): #1662 imported model does not use gpu @namchuai (#1723)
-- fix(API): #1720 host/port provided in the local API server does not fully applied @namchuai (#1721)
-- fix: server API reference @hiro-v (#1670)
-- fix(Model): refactor model label @namchuai (#1596)
-- docs/postmortem v 0.4.4 @hieu-jan (#1617)
-- chore(ShortcutModal): clean up shortcut modal @namchuai (#1614)
-- chore(Dependencies): upgrade node-fetch to fix vulnerable issue @namchuai (#1598)
-
-## ๐ Features
-
-- feat: update UI allow user change folder @urmauur (#1738)
-- feat: error message when not enough RAM @urmauur (#1706)
-- feat: improvement ux for local api server @urmauur (#1704)
-- feat: allow user to move jan folder @namchuai (#1649)
-- feat: HTTP proxy support @markmehere (#1562)
-- Feature add schedule clean cloudflare page and r2 @hiento09 (#1653)
-- feat: relayout left panel setting page @urmauur (#1648)
-- Update CI follow git flow @hiento09 (#1625)
-- feat: Implement UI page API server dashboard @urmauur (#1636)
-- fix: #1545 long thread title @lucido-simon (#1605)
-
-## ๐ Fixes
-
-- fix: model selection does not show in API settings page @louis-jan (#1828)
-- fix: user can't view model setting in local api server @namchuai (#1807)
-- fix: cannot change jan data folder @namchuai (#1805)
-- fix: model selection does not show in API settings page @louis-jan (#1802)
-- fix: user can't use a model in model hub @namchuai (#1801)
-- fix: stop openai inference raises something amiss @louis-jan (#1799)
-- regression fix: input disabled darkmode @urmauur (#1800)
-- fix: clean last message when user clean thread message @namchuai (#1793)
-- fix: app log not being printed @namchuai (#1790)
-- fix: api settings are not applied on changes @louis-jan (#1789)
-- fix: could not delete model @louis-jan (#1779)
-- fix: can not start model when server is not enabled from model settings page @louis-jan (#1774)
-- regression fix: input port not accept alphabets @urmauur (#1772)
-- Correct bash script syntax in ci @hiento09 (#1769)
-- Hotfix CI pre-release not trigger @hiento09 (#1757)
-- fix: bring back open app directory @louis-jan (#1756)
-- fix: input port have range validation @urmauur (#1741)
-- Fix error nightly build schedule run failed @hiento09 (#1736)
-- fix: active model when start server @urmauur (#1719)
-- fix: Change to fixed `localhost` instead of using host variable @hiro-v (#1729)
-- Fix autoupdater nightly build error @hiento09 (#1727)
-- Correct download url readme @hiento09 (#1724)
-- fix: API chat/completion is blocked by CORS @louis-jan (#1705)
-- fix: Jan server - v1/chat/completions is throwing ERR\_REQUIRE\_ESM @louis-jan (#1703)
-- fix: Jan server is showing blank page @louis-jan (#1702)
-- fix: switching loader from remote to local model from thread right panel @urmauur (#1692)
-- fix: hot-fix algolia search @hieu-jan (#1700)
-- fix: disable api key field while server is running @urmauur (#1694)
-- fix: stoping model show starting model @urmauur (#1693)
-- fix bug #1650 hogging resources @hiento09 (#1663)
-- fix: auto select text when collapse panel @urmauur (#1645)
-- fix: wrong selected model ref @louis-jan (#1638)
-- fix: enable check for update on all supported platforms @louis-jan (#1626)
-- fix: correct footer @hieu-jan (#1628)
-
-## ๐งฐ Maintenance
-
-- Docs publish to github page trigger on push to docs branch @hiento09 (#1783)
-- Correct bash script syntax in ci @hiento09 (#1769)
-- Combine 2 ci pipeline pre-release and nightly into one @hiento09 (#1767)
-- Hotfix CI pre-release not trigger @hiento09 (#1757)
-- Fix error nightly build schedule run failed @hiento09 (#1736)
-- docs: add troubleshoot unexpected token @hieu-jan (#1711)
-- docs: fix about pages @0xSage (#1699)
-- refactor: deprecate extension type implementation @louis-jan (#1677)
-- refactor: file prefix replace utils \& add unit test @louis-jan (#1676)
-- Correct ref branch for update url on README.md file @hiento09 (#1672)
-- docs: update 02-somethings-amiss @hieu-jan (#1668)
-- Cherrypick cicd to main branch to apply new gitflow @hiento09 (#1665)
-- docs: add user and developer guides for extensions @hieu-jan (#1657)
-- docs: add QA Script @hieu-jan (#1660)
-- chore: Bump nitro to 0.2.11 @hiro-v (#1655)
-- chore: Bump version nitro to 0.2.10 @hiro-v (#1644)
-- docs: add antivirus compatibility testing @hieu-jan (#1641)
-- refactor: introduce node module in nitro extension @louis-jan (#1630)
-- Update 02-somethings-amiss.mdx @Ssstars (#1634)
-- docs: add integration AzureOpenAI @hieu-jan (#1632)
-- docs: add troubleshooting permission denied @hieu-jan (#1631)
-
-## Contributor
-
-@0xSage, @Ssstars, @hiento09, @hientominh, @hieu-jan, @hiro-v, @jan-service-account, @louis-jan, @lucido-simon, @markmehere, @namchuai and @urmauur
+## Changes
+
+- fix(Wording): #1758 correct text for windows @namchuai (#1768)
+- fix(Log): server log is not display in windows @namchuai (#1764)
+- Release Cut v0.4.5 @louis-jan (#1752)
+- chore(nitro): 0.2.11 -> 0.2.12 @hiro-v (#1754)
+- fix: Nitro CPU threads with correct physical/ performance CPU count @hiro-v (#1726)
+- fix(Model): #1662 imported model does not use gpu @namchuai (#1723)
+- fix(API): #1720 host/port provided in the local API server does not fully applied @namchuai (#1721)
+- fix: server API reference @hiro-v (#1670)
+- fix(Model): refactor model label @namchuai (#1596)
+- docs/postmortem v 0.4.4 @hieu-jan (#1617)
+- chore(ShortcutModal): clean up shortcut modal @namchuai (#1614)
+- chore(Dependencies): upgrade node-fetch to fix vulnerable issue @namchuai (#1598)
+
+## ๐ Features
+
+- feat: update UI allow user change folder @urmauur (#1738)
+- feat: error message when not enough RAM @urmauur (#1706)
+- feat: improvement ux for local api server @urmauur (#1704)
+- feat: allow user to move jan folder @namchuai (#1649)
+- feat: HTTP proxy support @markmehere (#1562)
+- Feature add schedule clean cloudflare page and r2 @hiento09 (#1653)
+- feat: relayout left panel setting page @urmauur (#1648)
+- Update CI follow git flow @hiento09 (#1625)
+- feat: Implement UI page API server dashboard @urmauur (#1636)
+- fix: #1545 long thread title @lucido-simon (#1605)
+
+## ๐ Fixes
+
+- fix: model selection does not show in API settings page @louis-jan (#1828)
+- fix: user can't view model setting in local api server @namchuai (#1807)
+- fix: cannot change jan data folder @namchuai (#1805)
+- fix: model selection does not show in API settings page @louis-jan (#1802)
+- fix: user can't use a model in model hub @namchuai (#1801)
+- fix: stop openai inference raises something amiss @louis-jan (#1799)
+- regression fix: input disabled darkmode @urmauur (#1800)
+- fix: clean last message when user clean thread message @namchuai (#1793)
+- fix: app log not being printed @namchuai (#1790)
+- fix: api settings are not applied on changes @louis-jan (#1789)
+- fix: could not delete model @louis-jan (#1779)
+- fix: can not start model when server is not enabled from model settings page @louis-jan (#1774)
+- regression fix: input port not accept alphabets @urmauur (#1772)
+- Correct bash script syntax in ci @hiento09 (#1769)
+- Hotfix CI pre-release not trigger @hiento09 (#1757)
+- fix: bring back open app directory @louis-jan (#1756)
+- fix: input port have range validation @urmauur (#1741)
+- Fix error nightly build schedule run failed @hiento09 (#1736)
+- fix: active model when start server @urmauur (#1719)
+- fix: Change to fixed `localhost` instead of using host variable @hiro-v (#1729)
+- Fix autoupdater nightly build error @hiento09 (#1727)
+- Correct download url readme @hiento09 (#1724)
+- fix: API chat/completion is blocked by CORS @louis-jan (#1705)
+- fix: Jan server - v1/chat/completions is throwing ERR\_REQUIRE\_ESM @louis-jan (#1703)
+- fix: Jan server is showing blank page @louis-jan (#1702)
+- fix: switching loader from remote to local model from thread right panel @urmauur (#1692)
+- fix: hot-fix algolia search @hieu-jan (#1700)
+- fix: disable api key field while server is running @urmauur (#1694)
+- fix: stoping model show starting model @urmauur (#1693)
+- fix bug #1650 hogging resources @hiento09 (#1663)
+- fix: auto select text when collapse panel @urmauur (#1645)
+- fix: wrong selected model ref @louis-jan (#1638)
+- fix: enable check for update on all supported platforms @louis-jan (#1626)
+- fix: correct footer @hieu-jan (#1628)
+
+## ๐งฐ Maintenance
+
+- Docs publish to github page trigger on push to docs branch @hiento09 (#1783)
+- Correct bash script syntax in ci @hiento09 (#1769)
+- Combine 2 ci pipeline pre-release and nightly into one @hiento09 (#1767)
+- Hotfix CI pre-release not trigger @hiento09 (#1757)
+- Fix error nightly build schedule run failed @hiento09 (#1736)
+- docs: add troubleshoot unexpected token @hieu-jan (#1711)
+- docs: fix about pages @0xSage (#1699)
+- refactor: deprecate extension type implementation @louis-jan (#1677)
+- refactor: file prefix replace utils \& add unit test @louis-jan (#1676)
+- Correct ref branch for update url on README.md file @hiento09 (#1672)
+- docs: update 02-somethings-amiss @hieu-jan (#1668)
+- Cherrypick cicd to main branch to apply new gitflow @hiento09 (#1665)
+- docs: add user and developer guides for extensions @hieu-jan (#1657)
+- docs: add QA Script @hieu-jan (#1660)
+- chore: Bump nitro to 0.2.11 @hiro-v (#1655)
+- chore: Bump version nitro to 0.2.10 @hiro-v (#1644)
+- docs: add antivirus compatibility testing @hieu-jan (#1641)
+- refactor: introduce node module in nitro extension @louis-jan (#1630)
+- Update 02-somethings-amiss.mdx @Ssstars (#1634)
+- docs: add integration AzureOpenAI @hieu-jan (#1632)
+- docs: add troubleshooting permission denied @hieu-jan (#1631)
+
+## Contributor
+
+@0xSage, @Ssstars, @hiento09, @hientominh, @hieu-jan, @hiro-v, @jan-service-account, @louis-jan, @lucido-simon, @markmehere, @namchuai and @urmauur
diff --git a/docs/docs/guides/changelog/changelog-v0.4.6.mdx b/docs/docs/releases/changelog/changelog-v0.4.6.mdx
similarity index 98%
rename from docs/docs/guides/changelog/changelog-v0.4.6.mdx
rename to docs/docs/releases/changelog/changelog-v0.4.6.mdx
index 0ed9a5505..37bc2d493 100644
--- a/docs/docs/guides/changelog/changelog-v0.4.6.mdx
+++ b/docs/docs/releases/changelog/changelog-v0.4.6.mdx
@@ -1,5 +1,6 @@
---
sidebar_position: 2
+slug: /changelog/changelog-v0.4.6
---
# v0.4.6
@@ -7,57 +8,57 @@ For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.4
Highlighted Issue: [Issue #1918: Regression fix assistant extension codesign](https://github.com/janhq/jan/pull/1918)
-## Changes
-
-- Regression fix assitant extension codesign @hiento09 (#1918)
-- Release cut 0.4.6 @louis-jan (#1888)
-- feat: add factory reset feature @namchuai (#1750)
-- chore: add react developer tools to electron @Helloyunho (#1858)
-- Sync Release 0.4.5 to dev @louis-jan (#1830)
-
-## ๐ Features
-
-- feat: integrate umami @hieu-jan (#1809)
-- feat: Add default value for ngl @hiro-v (#1886)
-- feat: add start/stop model via http api @namchuai (#1862)
-- feat: add snackbar component and update style side banner @urmauur (#1874)
-- feat: move open app directory into icon folder @urmauur (#1879)
-- chore: Bump nitro to 0.3.3 @hiro-v (#1877)
-- feat: put timestamp under thread name in left panel @urmauur (#1820)
-- perf: remove unnecessary rerender when user typing input @namchuai (#1818)
-
-## ๐ Fixes
-
-- fix: umami analytics send app loaded event @louis-jan (#1928)
-- fix: migration loading indicator @louis-jan (#1913)
-- fix: broken manual import model with NA fields @louis-jan (#1912)
-- fix: openAIEmbedding now requires top level API Key configuration @louis-jan (#1902)
-- fix: load model fail overlays thread message error @louis-jan (#1901)
-- fix: show generate response on message send @louis-jan (#1895)
-- fix: display error message on model load fail @louis-jan (#1894)
-- fix: the selected model auto revert back to previous used model with setting mismatch @louis-jan (#1883)
-- fix: add dialog confirm when move folder and next dest isn't empty @urmauur (#1880)
-- Increase timeout for explore.e2e.spec test @hiento09 (#1844)
-- chore: Bump nitro to 0.3.3 @hiro-v (#1877)
-- fix: auto collapse retrieval setting while update config @urmauur (#1866)
-- fix: loader show while error global when change folder @urmauur (#1870)
-- fix: retrieval always ask for api key @louis-jan (#1856)
-- fix: all input text box are disabled @namchuai (#1855)
-- fix: add loader when user change folder @urmauur (#1850)
-- Add code sign step for darwin assistant extension @hiento09 (#1841)
-- fix: preserve focused thread when navigating in jan app @namchuai (#1814)
-- fix: highlight menu dropdown server options @urmauur (#1831)
-
-## ๐งฐ Maintenance
-
-- chore: mark RAG as experimental feature @louis-jan (#1882)
-- Increase timeout for explore.e2e.spec test @hiento09 (#1844)
-- chore: Bump nitro to 0.3.3 @hiro-v (#1877)
-- chore: Jan Data Folder setting is no longer an experimental feature @louis-jan (#1847)
-- chore: resolve main conflict @louis-jan (#1833)
-- Update release url on README to default branch instead of main branch @hiento09 (#1832)
-
-## Contributor
-
-@Helloyunho, @hiento09, @hieu-jan, @hiro-v, @jan-service-account, @louis-jan, @namchuai, @urmauur and James
+## Changes
+
+- Regression fix assitant extension codesign @hiento09 (#1918)
+- Release cut 0.4.6 @louis-jan (#1888)
+- feat: add factory reset feature @namchuai (#1750)
+- chore: add react developer tools to electron @Helloyunho (#1858)
+- Sync Release 0.4.5 to dev @louis-jan (#1830)
+
+## ๐ Features
+
+- feat: integrate umami @hieu-jan (#1809)
+- feat: Add default value for ngl @hiro-v (#1886)
+- feat: add start/stop model via http api @namchuai (#1862)
+- feat: add snackbar component and update style side banner @urmauur (#1874)
+- feat: move open app directory into icon folder @urmauur (#1879)
+- chore: Bump nitro to 0.3.3 @hiro-v (#1877)
+- feat: put timestamp under thread name in left panel @urmauur (#1820)
+- perf: remove unnecessary rerender when user typing input @namchuai (#1818)
+
+## ๐ Fixes
+
+- fix: umami analytics send app loaded event @louis-jan (#1928)
+- fix: migration loading indicator @louis-jan (#1913)
+- fix: broken manual import model with NA fields @louis-jan (#1912)
+- fix: openAIEmbedding now requires top level API Key configuration @louis-jan (#1902)
+- fix: load model fail overlays thread message error @louis-jan (#1901)
+- fix: show generate response on message send @louis-jan (#1895)
+- fix: display error message on model load fail @louis-jan (#1894)
+- fix: the selected model auto revert back to previous used model with setting mismatch @louis-jan (#1883)
+- fix: add dialog confirm when move folder and next dest isn't empty @urmauur (#1880)
+- Increase timeout for explore.e2e.spec test @hiento09 (#1844)
+- chore: Bump nitro to 0.3.3 @hiro-v (#1877)
+- fix: auto collapse retrieval setting while update config @urmauur (#1866)
+- fix: loader show while error global when change folder @urmauur (#1870)
+- fix: retrieval always ask for api key @louis-jan (#1856)
+- fix: all input text box are disabled @namchuai (#1855)
+- fix: add loader when user change folder @urmauur (#1850)
+- Add code sign step for darwin assistant extension @hiento09 (#1841)
+- fix: preserve focused thread when navigating in jan app @namchuai (#1814)
+- fix: highlight menu dropdown server options @urmauur (#1831)
+
+## ๐งฐ Maintenance
+
+- chore: mark RAG as experimental feature @louis-jan (#1882)
+- Increase timeout for explore.e2e.spec test @hiento09 (#1844)
+- chore: Bump nitro to 0.3.3 @hiro-v (#1877)
+- chore: Jan Data Folder setting is no longer an experimental feature @louis-jan (#1847)
+- chore: resolve main conflict @louis-jan (#1833)
+- Update release url on README to default branch instead of main branch @hiento09 (#1832)
+
+## Contributor
+
+@Helloyunho, @hiento09, @hieu-jan, @hiro-v, @jan-service-account, @louis-jan, @namchuai, @urmauur and James
diff --git a/docs/docs/guides/changelog/changelog-v0.4.7.mdx b/docs/docs/releases/changelog/changelog-v0.4.7.mdx
similarity index 98%
rename from docs/docs/guides/changelog/changelog-v0.4.7.mdx
rename to docs/docs/releases/changelog/changelog-v0.4.7.mdx
index 77a19e158..7e7942096 100644
--- a/docs/docs/guides/changelog/changelog-v0.4.7.mdx
+++ b/docs/docs/releases/changelog/changelog-v0.4.7.mdx
@@ -1,5 +1,6 @@
---
sidebar_position: 1
+slug: /changelog/changelog-v0.4.7
---
# v0.4.7
@@ -7,111 +8,111 @@ For more details, [GitHub Issues](https://github.com/janhq/jan/releases/tag/v0.4
Highlighted Issue: [Issue #2121: Release cut v0.4.7](https://github.com/janhq/jan/pull/2121)
-## Changes
-
-- Release cut v0.4.7 @louis-jan (#2121)
-- chore: update models @hahuyhoang411 (#1829)
-- add docs for entire advanced settings @hieu-jan (#2063)
-- docs: Fix #2040 : added /v1 path to apiBase @ldebs (#2041)
-- fix: ui for disabled state of gpu acceleration @namchuai (#2034)
-- feat: Initialize POM structure with fixtures on Playwright @Van-QA (#2015)
-- Alternative solution for `Thread titles should auto-summarize Topic` @0xgokuz (#1976)
-- Update authors.yml Rex @hahuyhoang411 (#1956)
-- Update authors.yml Louis @louis-jan (#1955)
-- Change env Dockerfile.gpu and update README @hiento09 (#1963)
-- chore: Update authors.yml for Van Pham @Van-QA (#1954)
-- Sync dev branch to docs branch @hieu-jan (#1948)
-- sync current docs branch to dev branch @hieu-jan (#1947)
-- feat: Playwright capture screenshot of Electron desktop app (Jan) on failures @Van-QA (#1934)
-- Sync main to dev after release 0.4.6 @hiento09 (#1929)
-
-## ๐ Features
-
-- feat: Add nitro vulkan to support AMD GPU/ APU and Intel Arc GPU @hiro-v (#2056)
-- fix: flow edit message @urmauur (#2113)
-- Feature helmchart and ci jan server @hiento09 (#2106)
-- feat: improvementUI GPU acceleration @urmauur (#1990)
-- feat: add edit messages users @urmauur (#1974)
-- feat: revamp ui dropdown list model option @urmauur (#1977)
-- feat: add modal troubleshooting guideline @urmauur (#1968)
-- feat: integrate umami script locally @hieu-jan (#1958)
-- feat: User Selectable GPUs and GPU-based Model Recommendations @hiento09 (#1730)
-
-## ๐ Fixes
-
-- fix: correct vulkan settings @louis-jan (#2128)
-- fix: chore UI @louis-jan (#2125)
-- Regression: bump nitro to 0.3.13 @hiento09 (#2124)
-- Regression: Linux vulkan binary path @hiento09 (#2123)
-- fix: revert back menu actions @louis-jan (#2120)
-- fix: mismatching between nightly build and version - jan about @louis-jan (#2114)
-- fix: flow edit message @urmauur (#2113)
-- fix: tools section should be expanded by default @louis-jan (#2110)
-- fix: failed to bind port - nitro error message copy @louis-jan (#2101)
-- fix: remove caret down icon when tab selected into remote model @urmauur (#2102)
-- fix: openai client sdk compatible @louis-jan (#2096)
-- Fix bug #2005 docker blank website @hiento09 (#2093)
-- fix: check if port is occupied before start local server @namchuai (#2098)
-- fix: broken model.json update @louis-jan (#2099)
-- fix: make text input scrollable @urmauur (#2083)
-- fix: failed to send message blocks thread creation @louis-jan (#2091)
-- fix: server crashes on missing module @louis-jan (#2089)
-- fix: expand assistant and model settings by default @louis-jan (#2081)
-- fix: move jan data folder - error handling for no write permission granted @louis-jan (#2077)
-- fix: check for updates should show no update are available on the latest build @louis-jan (#2075)
-- fix: infinity showed when haven't get total size @namchuai (#2066)
-- fix: should stop running the model when GPU settings are changed @louis-jan (#2067)
-- fix: settings page state loop and dark theme @louis-jan (#2065)
-- fix: Fix Nitro windows with error 3221225781 @hiro-v (#2057)
-- fix: message should only be interrupted when i start another thread @louis-jan (#2053)
-- fix: local server start error should not change to started state @louis-jan (#2052)
-- fix: update copy of message queue @louis-jan (#2051)
-- fix: download mutilple binaries @namchuai (#2043)
-- fix: disable gpu drop down box if there's no GPU ready @namchuai (#2046)
-- fix: app should generate thread title with length restriction @louis-jan (#2037)
-- fix: factory reset not remove jan data folder @namchuai (#2027)
-- fix: content setting right panel default to collapse @urmauur (#2026)
-- fix: local server blank parameters if there is no thread selected @louis-jan (#2028)
-- fix: model path backward compatible @louis-jan (#2018)
-- fix: resolve state update loop infinitive rerendering @louis-jan (#2017)
-- fix: lack of auto-cleaning mechanism for logs @louis-jan (#2003)
-- fix: app stuck regenerating assistant response @louis-jan (#2001)
-- fix: decouple thread summary update @louis-jan (#1994)
-- fix: app fails gracefully with clear error messages @louis-jan (#1993)
-- fix: retrieval stuck at generating response @louis-jan (#1988)
-- Fix macos auto update failed on nightly build @hiento09 (#1991)
-- fix: model downloads broken on nightly @louis-jan (#1984)
-- fix: RAG enhancements @urmauur (#1965)
-- Update docs run Jan Server in Docker mode @hiento09 (#1960)
-- fix: update conditional check last status message @urmauur (#1951)
-- fix: markdown render for chat completion role user @urmauur (#1944)
-- fix: avoid users to create so many threads at the same time @urmauur (#1930)
-- fix: download model will close panel item hub @urmauur (#1923)
-
-## ๐งฐ Maintenance
-
-- docs: improve integrations guide \& import model using absolute path @hieu-jan (#2076)
-- chore: add app version into log @namchuai (#2116)
-- docs: add integration docs Mistral AI API @hieu-jan (#2070)
-- docs:add-advanced-settings-https-proxy @hieu-jan (#2054)
-- chore: refactor watch system resource hook @louis-jan (#2048)
-- docs: Updates Guide Using the Local Server @SamPatt (#1924)
-- server install core using link instead of file @hiento09 (#2025)
-- chore: prettier fix @louis-jan (#2019)
-- chore: bump nitro 0.3.9 @louis-jan (#2016)
-- refactor: reduce IPC \& API handlers - shared node logics @louis-jan (#2011)
-- docs: update 03-gpu-not-used with RTX issues @hieu-jan (#1992)
-- docs: add Jan installation using Docker @hieu-jan (#1981)
-- chore: reduce bundle size @louis-jan (#1970)
-- docs: add author.yml @hieu-jan (#1973)
-- Update authors.yml hien @hiento09 (#1953)
-- chore: server download progress + S3 @louis-jan (#1925)
-- chore: add author james @namchuai (#1952)
-- chore: Add author - Ashley @imtuyethan (#1950)
-- chore: Add Author - Hiro @hiro-v (#1949)
-- docs: adding new feature for v0.4.6 to release checklist @Van-QA (#1927)
-
-## Contributor
-
-@0xSage, @0xgokuz, @SamPatt, @Van-QA, @hahuyhoang411, @hiento09, @hieu-jan, @hiro-v, @imtuyethan, @jan-service-account, @ldebs, @louis-jan, @namchuai, @urmauur and James
+## Changes
+
+- Release cut v0.4.7 @louis-jan (#2121)
+- chore: update models @hahuyhoang411 (#1829)
+- add docs for entire advanced settings @hieu-jan (#2063)
+- docs: Fix #2040 : added /v1 path to apiBase @ldebs (#2041)
+- fix: ui for disabled state of gpu acceleration @namchuai (#2034)
+- feat: Initialize POM structure with fixtures on Playwright @Van-QA (#2015)
+- Alternative solution for `Thread titles should auto-summarize Topic` @0xgokuz (#1976)
+- Update authors.yml Rex @hahuyhoang411 (#1956)
+- Update authors.yml Louis @louis-jan (#1955)
+- Change env Dockerfile.gpu and update README @hiento09 (#1963)
+- chore: Update authors.yml for Van Pham @Van-QA (#1954)
+- Sync dev branch to docs branch @hieu-jan (#1948)
+- sync current docs branch to dev branch @hieu-jan (#1947)
+- feat: Playwright capture screenshot of Electron desktop app (Jan) on failures @Van-QA (#1934)
+- Sync main to dev after release 0.4.6 @hiento09 (#1929)
+
+## ๐ Features
+
+- feat: Add nitro vulkan to support AMD GPU/ APU and Intel Arc GPU @hiro-v (#2056)
+- fix: flow edit message @urmauur (#2113)
+- Feature helmchart and ci jan server @hiento09 (#2106)
+- feat: improvementUI GPU acceleration @urmauur (#1990)
+- feat: add edit messages users @urmauur (#1974)
+- feat: revamp ui dropdown list model option @urmauur (#1977)
+- feat: add modal troubleshooting guideline @urmauur (#1968)
+- feat: integrate umami script locally @hieu-jan (#1958)
+- feat: User Selectable GPUs and GPU-based Model Recommendations @hiento09 (#1730)
+
+## ๐ Fixes
+
+- fix: correct vulkan settings @louis-jan (#2128)
+- fix: chore UI @louis-jan (#2125)
+- Regression: bump nitro to 0.3.13 @hiento09 (#2124)
+- Regression: Linux vulkan binary path @hiento09 (#2123)
+- fix: revert back menu actions @louis-jan (#2120)
+- fix: mismatching between nightly build and version - jan about @louis-jan (#2114)
+- fix: flow edit message @urmauur (#2113)
+- fix: tools section should be expanded by default @louis-jan (#2110)
+- fix: failed to bind port - nitro error message copy @louis-jan (#2101)
+- fix: remove caret down icon when tab selected into remote model @urmauur (#2102)
+- fix: openai client sdk compatible @louis-jan (#2096)
+- Fix bug #2005 docker blank website @hiento09 (#2093)
+- fix: check if port is occupied before start local server @namchuai (#2098)
+- fix: broken model.json update @louis-jan (#2099)
+- fix: make text input scrollable @urmauur (#2083)
+- fix: failed to send message blocks thread creation @louis-jan (#2091)
+- fix: server crashes on missing module @louis-jan (#2089)
+- fix: expand assistant and model settings by default @louis-jan (#2081)
+- fix: move jan data folder - error handling for no write permission granted @louis-jan (#2077)
+- fix: check for updates should show no update are available on the latest build @louis-jan (#2075)
+- fix: infinity showed when haven't get total size @namchuai (#2066)
+- fix: should stop running the model when GPU settings are changed @louis-jan (#2067)
+- fix: settings page state loop and dark theme @louis-jan (#2065)
+- fix: Fix Nitro windows with error 3221225781 @hiro-v (#2057)
+- fix: message should only be interrupted when i start another thread @louis-jan (#2053)
+- fix: local server start error should not change to started state @louis-jan (#2052)
+- fix: update copy of message queue @louis-jan (#2051)
+- fix: download mutilple binaries @namchuai (#2043)
+- fix: disable gpu drop down box if there's no GPU ready @namchuai (#2046)
+- fix: app should generate thread title with length restriction @louis-jan (#2037)
+- fix: factory reset not remove jan data folder @namchuai (#2027)
+- fix: content setting right panel default to collapse @urmauur (#2026)
+- fix: local server blank parameters if there is no thread selected @louis-jan (#2028)
+- fix: model path backward compatible @louis-jan (#2018)
+- fix: resolve state update loop infinitive rerendering @louis-jan (#2017)
+- fix: lack of auto-cleaning mechanism for logs @louis-jan (#2003)
+- fix: app stuck regenerating assistant response @louis-jan (#2001)
+- fix: decouple thread summary update @louis-jan (#1994)
+- fix: app fails gracefully with clear error messages @louis-jan (#1993)
+- fix: retrieval stuck at generating response @louis-jan (#1988)
+- Fix macos auto update failed on nightly build @hiento09 (#1991)
+- fix: model downloads broken on nightly @louis-jan (#1984)
+- fix: RAG enhancements @urmauur (#1965)
+- Update docs run Jan Server in Docker mode @hiento09 (#1960)
+- fix: update conditional check last status message @urmauur (#1951)
+- fix: markdown render for chat completion role user @urmauur (#1944)
+- fix: avoid users to create so many threads at the same time @urmauur (#1930)
+- fix: download model will close panel item hub @urmauur (#1923)
+
+## ๐งฐ Maintenance
+
+- docs: improve integrations guide \& import model using absolute path @hieu-jan (#2076)
+- chore: add app version into log @namchuai (#2116)
+- docs: add integration docs Mistral AI API @hieu-jan (#2070)
+- docs:add-advanced-settings-https-proxy @hieu-jan (#2054)
+- chore: refactor watch system resource hook @louis-jan (#2048)
+- docs: Updates Guide Using the Local Server @SamPatt (#1924)
+- server install core using link instead of file @hiento09 (#2025)
+- chore: prettier fix @louis-jan (#2019)
+- chore: bump nitro 0.3.9 @louis-jan (#2016)
+- refactor: reduce IPC \& API handlers - shared node logics @louis-jan (#2011)
+- docs: update 03-gpu-not-used with RTX issues @hieu-jan (#1992)
+- docs: add Jan installation using Docker @hieu-jan (#1981)
+- chore: reduce bundle size @louis-jan (#1970)
+- docs: add author.yml @hieu-jan (#1973)
+- Update authors.yml hien @hiento09 (#1953)
+- chore: server download progress + S3 @louis-jan (#1925)
+- chore: add author james @namchuai (#1952)
+- chore: Add author - Ashley @imtuyethan (#1950)
+- chore: Add Author - Hiro @hiro-v (#1949)
+- docs: adding new feature for v0.4.6 to release checklist @Van-QA (#1927)
+
+## Contributor
+
+@0xSage, @0xgokuz, @SamPatt, @Van-QA, @hahuyhoang411, @hiento09, @hieu-jan, @hiro-v, @imtuyethan, @jan-service-account, @ldebs, @louis-jan, @namchuai, @urmauur and James
diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js
index 25b84b877..cd6078327 100644
--- a/docs/docusaurus.config.js
+++ b/docs/docusaurus.config.js
@@ -74,6 +74,38 @@ const config = {
from: "/guides/troubleshooting/gpu-not-used/",
to: "/guides/common-error/not-using-gpu/",
},
+ {
+ from: "/guides/troubleshooting/",
+ to: "/guides/error-codes/",
+ },
+ {
+ from: "/troubleshooting/stuck-on-broken-build/",
+ to: "/guides/common-error/broken-build/",
+ },
+ {
+ from: "/guides/troubleshooting/",
+ to: "/guides/error-codes/",
+ },
+ {
+ from: "/troubleshooting/somethings-amiss/",
+ to: "/guides/error-codes/something-amiss/",
+ },
+ {
+ from: "/troubleshooting/how-to-get-error-logs/",
+ to: "/guides/error-codes/how-to-get-error-logs/",
+ },
+ {
+ from: "/troubleshooting/permission-denied/",
+ to: "/guides/error-codes/permission-denied/",
+ },
+ {
+ from: "/troubleshooting/unexpected-token/",
+ to: "/guides/error-codes/unexpected-token/",
+ },
+ {
+ from: "/troubleshooting/undefined-issue/",
+ to: "/guides/error-codes/undefined-issue/",
+ },
],
},
],
@@ -299,7 +331,7 @@ const config = {
{
type: "docSidebar",
sidebarId: "guidesSidebar",
- label: "User Guide",
+ label: "Guides",
},
{
type: "docSidebar",
@@ -310,6 +342,11 @@ const config = {
to: "/api-reference",
label: "API Reference",
},
+ {
+ type: "docSidebar",
+ sidebarId: "releasesSidebar",
+ label: "Changelog",
+ },
// {
// type: "docSidebar",
// sidebarId: "docsSidebar",
@@ -343,10 +380,6 @@ const config = {
},
},
- customFields: {
- githubAccessToken: process.env.GITHUB_ACCESS_TOKEN || "XXXX",
- },
-
themes: ["@docusaurus/theme-live-codeblock", "@docusaurus/theme-mermaid"],
};
diff --git a/docs/sidebars.js b/docs/sidebars.js
index e1690eca4..fb14f0abe 100644
--- a/docs/sidebars.js
+++ b/docs/sidebars.js
@@ -162,6 +162,12 @@ const sidebars = {
dirName: "developer",
},
],
+ releasesSidebar: [
+ {
+ type: "autogenerated",
+ dirName: "releases",
+ },
+ ]
};
module.exports = sidebars;
diff --git a/docs/src/theme/DocCard/assets/logs-error.png b/docs/src/theme/DocCard/assets/logs-error.png
new file mode 100644
index 000000000..f161c7bab
Binary files /dev/null and b/docs/src/theme/DocCard/assets/logs-error.png differ
diff --git a/docs/src/theme/DocCard/index.js b/docs/src/theme/DocCard/index.js
index 2246ef3c1..b0723058b 100644
--- a/docs/src/theme/DocCard/index.js
+++ b/docs/src/theme/DocCard/index.js
@@ -45,6 +45,7 @@ import gpu from './assets/gpu.png';
import mistral from './assets/mistral.png';
import lm from './assets/lm.png';
import ollama from './assets/ollama.png';
+import logsError from './assets/logs-error.png';
function CardContainer({href, children}) {
return (
@@ -166,7 +167,7 @@ function CardLink({item}) {
) : (item.label === "Broken Build") ? (
- ) : (item.label === "Jan not using GPU") ? (
+ ) : (item.label === "Troubleshooting NVIDIA GPU") ? (
) : (item.label === "Mistral AI") ? (
@@ -174,10 +175,15 @@ function CardLink({item}) {
) : (item.label === "Ollama") ? (
+ ) : (item.label === "How to Get Error Logs") ? (
+
) : (
// If not "Customize Engine Settings", use default icon
'๐๏ธ'
- );
+ );
+
+
+
const doc = useDocById(item.docId ?? undefined);
return (
location.pathname.startsWith(path));
+
return (
diff --git a/docs/src/theme/NavbarExtension/index.js b/docs/src/theme/NavbarExtension/index.js
index 2c40c1504..a4b418975 100644
--- a/docs/src/theme/NavbarExtension/index.js
+++ b/docs/src/theme/NavbarExtension/index.js
@@ -17,9 +17,9 @@ export default function NavBarExtension() {
- Guide
+ Guides
Changelog
diff --git a/extensions/inference-openai-extension/src/helpers/sse.ts b/extensions/inference-openai-extension/src/helpers/sse.ts
index 11db38282..bee2e65bc 100644
--- a/extensions/inference-openai-extension/src/helpers/sse.ts
+++ b/extensions/inference-openai-extension/src/helpers/sse.ts
@@ -1,3 +1,4 @@
+import { ErrorCode } from '@janhq/core'
import { Observable } from 'rxjs'
/**
@@ -40,9 +41,12 @@ export function requestInference(
})
.then(async (response) => {
if (!response.ok) {
- subscriber.next(
- (await response.json()).error?.message ?? 'Error occurred.'
- )
+ const data = await response.json()
+ const error = {
+ message: data.error?.message ?? 'An error occurred.',
+ code: data.error?.code ?? ErrorCode.Unknown,
+ }
+ subscriber.error(error)
subscriber.complete()
return
}
diff --git a/extensions/inference-openai-extension/src/index.ts b/extensions/inference-openai-extension/src/index.ts
index 481171742..e617b81e5 100644
--- a/extensions/inference-openai-extension/src/index.ts
+++ b/extensions/inference-openai-extension/src/index.ts
@@ -210,12 +210,13 @@ export default class JanInferenceOpenAIExtension extends BaseExtension {
const messageContent: ThreadContent = {
type: ContentType.Text,
text: {
- value: 'Error occurred: ' + err.message,
+ value: 'An error occurred. ' + err.message,
annotations: [],
},
}
message.content = [messageContent]
message.status = MessageStatus.Error
+ message.error_code = err.code
events.emit(MessageEvent.OnMessageUpdate, message)
},
})
diff --git a/extensions/inference-triton-trtllm-extension/src/index.ts b/extensions/inference-triton-trtllm-extension/src/index.ts
index f009a81e0..2ba23d6cb 100644
--- a/extensions/inference-triton-trtllm-extension/src/index.ts
+++ b/extensions/inference-triton-trtllm-extension/src/index.ts
@@ -205,7 +205,7 @@ export default class JanInferenceTritonTrtLLMExtension extends BaseExtension {
const messageContent: ThreadContent = {
type: ContentType.Text,
text: {
- value: 'Error occurred: ' + err.message,
+ value: 'An error occurred. ' + err.message,
annotations: [],
},
}
diff --git a/extensions/model-extension/package.json b/extensions/model-extension/package.json
index e99122bcf..ef43ecadf 100644
--- a/extensions/model-extension/package.json
+++ b/extensions/model-extension/package.json
@@ -1,6 +1,6 @@
{
"name": "@janhq/model-extension",
- "version": "1.0.25",
+ "version": "1.0.27",
"description": "Model Management Extension provides model exploration and seamless downloads",
"main": "dist/index.js",
"module": "dist/module.js",
diff --git a/models/gemma-2b/model.json b/models/gemma-2b/model.json
new file mode 100644
index 000000000..e07b2d677
--- /dev/null
+++ b/models/gemma-2b/model.json
@@ -0,0 +1,34 @@
+{
+ "sources": [
+ {
+ "filename": "gemma-2b-it-q4_k_m.gguf",
+ "url": "https://huggingface.co/lmstudio-ai/gemma-2b-it-GGUF/resolve/main/gemma-2b-it-q4_k_m.gguf"
+ }
+ ],
+ "id": "gemma-2b",
+ "object": "model",
+ "name": "Gemma 2B Q4",
+ "version": "1.0",
+ "description": "Gemma is built from the same technology with Google's Gemini.",
+ "format": "gguf",
+ "settings": {
+ "ctx_len": 4096,
+ "prompt_template": "user\n{prompt}\nmodel",
+ "llama_model_path": "gemma-2b-it-q4_k_m.gguf"
+ },
+ "parameters": {
+ "temperature": 0.7,
+ "top_p": 0.95,
+ "stream": true,
+ "max_tokens": 4096,
+ "stop": [],
+ "frequency_penalty": 0,
+ "presence_penalty": 0
+ },
+ "metadata": {
+ "author": "Google",
+ "tags": ["2B", "Finetuned"],
+ "size": 1500000000
+ },
+ "engine": "nitro"
+}
diff --git a/models/gemma-7b/model.json b/models/gemma-7b/model.json
new file mode 100644
index 000000000..3c1911fda
--- /dev/null
+++ b/models/gemma-7b/model.json
@@ -0,0 +1,34 @@
+{
+ "sources": [
+ {
+ "filename": "gemma-7b-it-q4_K_M.gguf",
+ "url": "https://huggingface.co/mmnga/gemma-7b-it-gguf/resolve/main/gemma-7b-it-q4_K_M.gguf"
+ }
+ ],
+ "id": "gemma-7b",
+ "object": "model",
+ "name": "Gemma 7B Q4",
+ "version": "1.0",
+ "description": "Gemma is built from the same technology with Google's Gemini.",
+ "format": "gguf",
+ "settings": {
+ "ctx_len": 4096,
+ "prompt_template": "user\n{prompt}\nmodel",
+ "llama_model_path": "gemma-7b-it-q4_K_M.gguf"
+ },
+ "parameters": {
+ "temperature": 0.7,
+ "top_p": 0.95,
+ "stream": true,
+ "max_tokens": 4096,
+ "stop": [],
+ "frequency_penalty": 0,
+ "presence_penalty": 0
+ },
+ "metadata": {
+ "author": "Google",
+ "tags": ["7B", "Finetuned"],
+ "size": 5330000000
+ },
+ "engine": "nitro"
+}
diff --git a/models/noromaid-7b/model.json b/models/noromaid-7b/model.json
index 78d579a64..1daaa361b 100644
--- a/models/noromaid-7b/model.json
+++ b/models/noromaid-7b/model.json
@@ -28,7 +28,7 @@
"metadata": {
"author": "NeverSleep",
"tags": ["7B", "Merged"],
- "size": 4370000000
+ "size": 5130000000
},
"engine": "nitro"
}
diff --git a/models/qwen-7b/model.json b/models/qwen-7b/model.json
new file mode 100644
index 000000000..16def5b29
--- /dev/null
+++ b/models/qwen-7b/model.json
@@ -0,0 +1,34 @@
+{
+ "sources": [
+ {
+ "filename": "qwen1_5-7b-chat-q4_k_m.gguf",
+ "url": "https://huggingface.co/Qwen/Qwen1.5-7B-Chat-GGUF/resolve/main/qwen1_5-7b-chat-q4_k_m.gguf"
+ }
+ ],
+ "id": "qwen-7b",
+ "object": "model",
+ "name": "Qwen Chat 7B Q4",
+ "version": "1.0",
+ "description": "Qwen is optimized at Chinese, ideal for everyday tasks.",
+ "format": "gguf",
+ "settings": {
+ "ctx_len": 4096,
+ "prompt_template": "<|im_start|>system\n{system_message}<|im_end|>\n<|im_start|>user\n{prompt}<|im_end|>\n<|im_start|>assistant",
+ "llama_model_path": "qwen1_5-7b-chat-q4_k_m.gguf"
+ },
+ "parameters": {
+ "temperature": 0.7,
+ "top_p": 0.95,
+ "stream": true,
+ "max_tokens": 4096,
+ "stop": [],
+ "frequency_penalty": 0,
+ "presence_penalty": 0
+ },
+ "metadata": {
+ "author": "Alibaba",
+ "tags": ["7B", "Finetuned"],
+ "size": 4770000000
+ },
+ "engine": "nitro"
+}
diff --git a/web/containers/DropdownListSidebar/index.tsx b/web/containers/DropdownListSidebar/index.tsx
index 2940fbdbe..c05d26e51 100644
--- a/web/containers/DropdownListSidebar/index.tsx
+++ b/web/containers/DropdownListSidebar/index.tsx
@@ -139,16 +139,11 @@ const DropdownListSidebar = ({
// Update model parameter to the thread file
if (model)
- updateModelParameter(
- activeThread.id,
- {
- params: modelParams,
- modelId: model.id,
- engine: model.engine,
- },
- // Overwrite the existing model parameter
- true
- )
+ updateModelParameter(activeThread.id, {
+ params: modelParams,
+ modelId: model.id,
+ engine: model.engine,
+ })
}
},
[
diff --git a/web/helpers/atoms/ChatMessage.atom.ts b/web/helpers/atoms/ChatMessage.atom.ts
index 0061eca7c..d092dd89c 100644
--- a/web/helpers/atoms/ChatMessage.atom.ts
+++ b/web/helpers/atoms/ChatMessage.atom.ts
@@ -110,7 +110,10 @@ export const deleteMessageAtom = atom(null, (get, set, id: string) => {
}
const threadId = get(getActiveThreadIdAtom)
if (threadId) {
- newData[threadId] = newData[threadId].filter((e) => e.id !== id)
+ // Should also delete error messages to clear out the error state
+ newData[threadId] = newData[threadId].filter(
+ (e) => e.id !== id && e.status !== MessageStatus.Error
+ )
set(chatMessages, newData)
}
})
diff --git a/web/hooks/useSendChatMessage.ts b/web/hooks/useSendChatMessage.ts
index 9b3664203..09c64a0f1 100644
--- a/web/hooks/useSendChatMessage.ts
+++ b/web/hooks/useSendChatMessage.ts
@@ -109,8 +109,9 @@ export default function useSendChatMessage() {
currentMessages
.filter(
(e) =>
- currentMessage.role === ChatCompletionRole.User ||
- e.id !== currentMessage.id
+ (currentMessage.role === ChatCompletionRole.User ||
+ e.id !== currentMessage.id) &&
+ e.status !== MessageStatus.Error
)
.map((msg) => ({
role: msg.role,
@@ -198,6 +199,7 @@ export default function useSendChatMessage() {
})
.concat(
currentMessages
+ .filter((e) => e.status !== MessageStatus.Error)
.map((msg) => ({
role: msg.role,
content: msg.content[0]?.text.value ?? '',
diff --git a/web/hooks/useUpdateModelParameters.ts b/web/hooks/useUpdateModelParameters.ts
index 99663229b..694394cee 100644
--- a/web/hooks/useUpdateModelParameters.ts
+++ b/web/hooks/useUpdateModelParameters.ts
@@ -37,8 +37,7 @@ export default function useUpdateModelParameters() {
const updateModelParameter = async (
threadId: string,
- settings: UpdateModelParameter,
- overwrite: boolean = false
+ settings: UpdateModelParameter
) => {
const thread = threads.find((thread) => thread.id === threadId)
if (!thread) {
@@ -67,14 +66,8 @@ export default function useUpdateModelParameters() {
const runtimeParams = toRuntimeParams(updatedModelParams)
const settingParams = toSettingParams(updatedModelParams)
- assistant.model.parameters = {
- ...(overwrite ? {} : assistant.model.parameters),
- ...runtimeParams,
- }
- assistant.model.settings = {
- ...(overwrite ? {} : assistant.model.settings),
- ...settingParams,
- }
+ assistant.model.parameters = runtimeParams
+ assistant.model.settings = settingParams
if (selectedModel) {
assistant.model.id = settings.modelId ?? selectedModel?.id
assistant.model.engine = settings.engine ?? selectedModel?.engine
diff --git a/web/screens/Chat/ChatBody/index.tsx b/web/screens/Chat/ChatBody/index.tsx
index f6fc7d723..a82451f19 100644
--- a/web/screens/Chat/ChatBody/index.tsx
+++ b/web/screens/Chat/ChatBody/index.tsx
@@ -78,11 +78,11 @@ const ChatBody: React.FC = () => {
{messages.map((message, index) => (
- {((message.status !== MessageStatus.Error &&
- message.status !== MessageStatus.Pending) ||
- message.content.length > 0) && (
-
- )}
+ {message.status !== MessageStatus.Error &&
+ message.content.length > 0 && (
+
+ )}
+
{(message.status === MessageStatus.Error ||
message.status === MessageStatus.Stopped) &&
index === messages.length - 1 && (
diff --git a/web/screens/Chat/ChatInput/index.tsx b/web/screens/Chat/ChatInput/index.tsx
index a7985a59c..c90a12cd2 100644
--- a/web/screens/Chat/ChatInput/index.tsx
+++ b/web/screens/Chat/ChatInput/index.tsx
@@ -53,10 +53,10 @@ const ChatInput: React.FC = () => {
const activeThreadId = useAtomValue(getActiveThreadIdAtom)
const [isWaitingToSend, setIsWaitingToSend] = useAtom(waitingToSendMessage)
const [fileUpload, setFileUpload] = useAtom(fileUploadAtom)
+ const [showAttacmentMenus, setShowAttacmentMenus] = useState(false)
const textareaRef = useRef (null)
const fileInputRef = useRef(null)
const imageInputRef = useRef(null)
- const [showAttacmentMenus, setShowAttacmentMenus] = useState(false)
const experimentalFeature = useAtomValue(experimentalFeatureEnabledAtom)
const isGeneratingResponse = useAtomValue(isGeneratingResponseAtom)
const threadStates = useAtomValue(threadStatesAtom)
@@ -165,7 +165,8 @@ const ChatInput: React.FC = () => {
if (
fileUpload.length > 0 ||
(activeThread?.assistants[0].tools &&
- !activeThread?.assistants[0].tools[0]?.enabled)
+ !activeThread?.assistants[0].tools[0]?.enabled &&
+ !activeThread?.assistants[0].model.settings.vision_model)
) {
e.stopPropagation()
} else {
@@ -177,12 +178,13 @@ const ChatInput: React.FC = () => {
{fileUpload.length > 0 ||
(activeThread?.assistants[0].tools &&
- !activeThread?.assistants[0].tools[0]?.enabled && (
+ !activeThread?.assistants[0].tools[0]?.enabled &&
+ !activeThread?.assistants[0].model.settings.vision_model && (
{fileUpload.length !== 0 && (
Currently, we only support 1 attachment at the same
- time
+ time.
)}
{activeThread?.assistants[0].tools &&
@@ -190,7 +192,7 @@ const ChatInput: React.FC = () => {
false && (
Turn on Retrieval in Assistant Settings to use this
- feature
+ feature.
)}
@@ -206,46 +208,86 @@ const ChatInput: React.FC = () => {
className="absolute bottom-10 right-0 z-30 w-36 cursor-pointer rounded-lg border border-border bg-background py-1 shadow"
>
- - {
- if (activeThread?.assistants[0].model.settings.vision_model) {
- imageInputRef.current?.click()
- setShowAttacmentMenus(false)
- }
- }}
- >
-
- Image
-
- -
+
+
- {
+ if (
+ activeThread?.assistants[0].model.settings.vision_model
+ ) {
+ imageInputRef.current?.click()
+ setShowAttacmentMenus(false)
+ }
+ }}
+ >
+
+ Image
+
+
+
+ {!activeThread?.assistants[0].model.settings.vision_model && (
+
+ This feature only supports multimodal models.
+
+
+ )}
+
+
+
+
+ - {
+ if (
+ !activeThread?.assistants[0].model.settings
+ .vision_model ||
+ activeThread?.assistants[0].model.settings
+ .text_model !== false
+ ) {
+ fileInputRef.current?.click()
+ setShowAttacmentMenus(false)
+ }
+ }}
+ >
+
+ Document
+
+
+
+ {(!activeThread?.assistants[0].tools ||
+ !activeThread?.assistants[0].tools[0]?.enabled ||
activeThread?.assistants[0].model.settings.text_model ===
- false
- ? 'cursor-not-allowed opacity-50'
- : 'cursor-pointer'
- )}
- onClick={() => {
- if (
- !activeThread?.assistants[0].model.settings.vision_model ||
- activeThread?.assistants[0].model.settings.text_model !==
- false
- ) {
- fileInputRef.current?.click()
- setShowAttacmentMenus(false)
- }
- }}
- >
-
- Document
-
+ false) && (
+
+ {activeThread?.assistants[0].model.settings.text_model ===
+ false ? (
+
+ This model does not support text-based retrieval.
+
+ ) : (
+
+ Turn on Retrieval in Assistant Settings to use this
+ feature.
+
+ )}
+
+
+ )}
+
+
)}
diff --git a/web/screens/Chat/ErrorMessage/index.tsx b/web/screens/Chat/ErrorMessage/index.tsx
index c9041e23a..25cec1cb9 100644
--- a/web/screens/Chat/ErrorMessage/index.tsx
+++ b/web/screens/Chat/ErrorMessage/index.tsx
@@ -1,4 +1,4 @@
-import { MessageStatus, ThreadMessage } from '@janhq/core'
+import { ErrorCode, MessageStatus, ThreadMessage } from '@janhq/core'
import { Button } from '@janhq/uikit'
import { useAtomValue, useSetAtom } from 'jotai'
import { RefreshCcw } from 'lucide-react'
@@ -10,6 +10,8 @@ import ModalTroubleShooting, {
import { loadModelErrorAtom } from '@/hooks/useActiveModel'
import useSendChatMessage from '@/hooks/useSendChatMessage'
+import { getErrorTitle } from '@/utils/errorMessage'
+
import { getCurrentChatMessagesAtom } from '@/helpers/atoms/ChatMessage.atom'
const ErrorMessage = ({ message }: { message: ThreadMessage }) => {
@@ -25,6 +27,11 @@ const ErrorMessage = ({ message }: { message: ThreadMessage }) => {
resendChatMessage(message)
}
+ const errorTitle = getErrorTitle(
+ message.error_code ?? ErrorCode.Unknown,
+ message.content[0]?.text?.value
+ )
+
return (
{message.status === MessageStatus.Stopped && (
@@ -68,7 +75,7 @@ const ErrorMessage = ({ message }: { message: ThreadMessage }) => {
key={message.id}
className="flex flex-col items-center text-center text-sm font-medium text-gray-500"
>
- {`Apologies, somethingโs amiss!`}
+ {errorTitle}
Janโs in beta. Access
{
const onDeleteClick = async () => {
deleteMessage(message.id ?? '')
if (thread) {
+ // Should also delete error messages to clear out the error state
await extensionManager
.get(ExtensionTypeEnum.Conversational)
?.writeMessages(
thread.id,
- messages.filter((msg) => msg.id !== message.id)
+ messages.filter(
+ (msg) => msg.id !== message.id && msg.status !== MessageStatus.Error
+ )
)
}
}
diff --git a/web/screens/Chat/index.tsx b/web/screens/Chat/index.tsx
index 4f441ac45..85fd5332c 100644
--- a/web/screens/Chat/index.tsx
+++ b/web/screens/Chat/index.tsx
@@ -90,8 +90,9 @@ const ChatScreen: React.FC = () => {
if (!experimentalFeature) return
if (
e.dataTransfer.items.length === 1 &&
- activeThread?.assistants[0].tools &&
- activeThread?.assistants[0].tools[0]?.enabled
+ ((activeThread?.assistants[0].tools &&
+ activeThread?.assistants[0].tools[0]?.enabled) ||
+ activeThread?.assistants[0].model.settings.vision_model)
) {
setDragOver(true)
} else if (
@@ -112,7 +113,8 @@ const ChatScreen: React.FC = () => {
files.length !== 1 ||
rejectFiles.length !== 0 ||
(activeThread?.assistants[0].tools &&
- !activeThread?.assistants[0].tools[0]?.enabled)
+ !activeThread?.assistants[0].tools[0]?.enabled &&
+ !activeThread?.assistants[0].model.settings.vision_model)
)
return
const imageType = files[0]?.type.includes('image')
diff --git a/web/screens/Settings/Advanced/DataFolder/ModalErrorSetDestGlobal.tsx b/web/screens/Settings/Advanced/DataFolder/ModalErrorSetDestGlobal.tsx
index 84646e735..16dc60578 100644
--- a/web/screens/Settings/Advanced/DataFolder/ModalErrorSetDestGlobal.tsx
+++ b/web/screens/Settings/Advanced/DataFolder/ModalErrorSetDestGlobal.tsx
@@ -21,7 +21,7 @@ const ModalErrorSetDestGlobal = () => {
- Error Occurred
+ An Error Occurred
Oops! Something went wrong. Jan data folder remains the same. Please
diff --git a/web/utils/errorMessage.ts b/web/utils/errorMessage.ts
new file mode 100644
index 000000000..3fce6c7f3
--- /dev/null
+++ b/web/utils/errorMessage.ts
@@ -0,0 +1,15 @@
+import { ErrorCode } from '@janhq/core'
+
+export const getErrorTitle = (
+ errorCode: ErrorCode,
+ errorMessage: string | undefined
+) => {
+ switch (errorCode) {
+ case ErrorCode.Unknown:
+ return 'Apologies, somethingโs amiss!'
+ case ErrorCode.InvalidApiKey:
+ return 'Invalid API key. Please check your API key and try again.'
+ default:
+ return errorMessage
+ }
+}
diff --git a/web/utils/modelParam.ts b/web/utils/modelParam.ts
index 4b9fe84ae..a6d144c3e 100644
--- a/web/utils/modelParam.ts
+++ b/web/utils/modelParam.ts
@@ -42,6 +42,8 @@ export const toSettingParams = (
prompt_template: undefined,
llama_model_path: undefined,
mmproj: undefined,
+ vision_model: undefined,
+ text_model: undefined,
}
const settingParams: ModelSettingParams = {}
|