304 Commits

Author SHA1 Message Date
NamH
f47bf36e70
fix(JanHub): #1158 sort model list (#1257)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-01-04 21:17:32 +07:00
NamH
97c0fee0b2
fix(Message): open link with external browser (#1339)
* fix(Message): #1321 open link with external browser

Signed-off-by: James <james@jan.ai>

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-01-04 17:08:47 +07:00
Faisal Amir
aecef0df5a chore: move social media from left panel into footer 2024-01-04 14:43:36 +07:00
Faisal Amir
c81f301b6c revert social media link 2024-01-04 14:39:33 +07:00
Faisal Amir
214739e143 reloading model when engine params have new values 2024-01-04 14:39:33 +07:00
Louis
f97fdaed30 chore: stop model accordingly on settings changes 2024-01-04 14:39:33 +07:00
Faisal Amir
49d5703ac3 bring back tooltip each params setting 2024-01-04 14:39:33 +07:00
Faisal Amir
e8934d0771 Validate max input on slider component 2024-01-04 14:39:33 +07:00
Faisal Amir
a653c58384 Revert back save button thread setting 2024-01-04 14:39:33 +07:00
Faisal Amir
0f333c35f5 conditional copy button save, if have engine params changes value button should be save & reload 2024-01-04 14:39:33 +07:00
Faisal Amir
bf9cd4443c feat: disable send button and show tooltip when user have changes value on setting panel 2024-01-04 14:39:33 +07:00
Faisal Amir
4c67e5021c feat: keep new value within the reset function when user save new thread setting 2024-01-04 14:39:33 +07:00
Faisal Amir
2a90cac56d feat: make auto focus button leave when dialog unsave setting shown 2024-01-04 14:39:33 +07:00
Faisal Amir
b1f33d3d18 feat: revamp new thread setting panel flow 2024-01-04 14:39:33 +07:00
Faisal Amir
4e26e1a598 update state case when user change value form and revert to old state 2024-01-04 14:39:33 +07:00
Faisal Amir
6780807949 feat: show button save and cancel form when have changes value 2024-01-04 14:39:33 +07:00
Faisal Amir
347e47f1ce feat: finalize UI form new right panel thread 2024-01-04 14:39:33 +07:00
Faisal Amir
590fa67244 feat: finished new UI thread setting pannel 2024-01-04 14:39:33 +07:00
Faisal Amir
2332c4e1d2 feat: change layout thread setting right panel 2024-01-04 14:39:33 +07:00
Louis
566a5a332f
refactor: deprecate the appVersion IPC and use the predefined VERSION from webpack (#1309)
## Description
According to #1287, the web version will be updated accordingly. There is no need to use the electron app version anymore. It's to reduce the IPC dependency and reduce requests.
2024-01-04 11:22:24 +07:00
Louis
051dbcb937
fix: app getting stuck at downloading 99 percent while downloading model (#1320)
Addressed a critical issue where the application would become unresponsive at the 99 percent mark during model download
2024-01-04 11:22:11 +07:00
0xSage
56f64b666f
Merge pull request #1295 from Gri-ffin/bring-socialmedia-links
Bring social media links
2024-01-03 12:37:33 +08:00
0xSage
868be41928
fix: Jan twitter url 2024-01-03 12:32:45 +08:00
hiento09
0a7e26d5fb
Fix memory on mac included cached and swap (#1298)
* Fix memory on mac included cached and swap

* set inteval monitor to 0.5s

---------

Co-authored-by: Hien To <hien@jan.ai>
2024-01-03 02:09:17 +07:00
Gri-ffin
1c38710308 add social media links 2024-01-02 14:05:52 +01:00
hiento09
1d902567f7
Switch from Gigabyte to Gibibyte (#1286)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2024-01-02 14:54:41 +07:00
Hieu
7e88f1c776
fix: posthog configuration (#1283)
fix: posthog configuration
2024-01-02 13:56:27 +07:00
hiento09
45fdadf1ea
Switch from systeminformation to os-utils to resolve bitdefender antivirus on windows, and reduce memory leak for monitor extension (#1282)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2024-01-02 13:39:22 +07:00
Louis
12b037e2cb
fix: swagger CSP issue (#1284) 2024-01-02 12:48:00 +07:00
Ho Duc Hieu
cf7aa61bbb fix: posthog configuration 2024-01-02 12:21:17 +07:00
Gri-ffin
32a82ad565 Enable scrolling in the message chat box 2024-01-02 10:28:01 +07:00
Faisal Amir
d7b91fc55f feat: added keyboard shortcut list in setting page 2024-01-01 08:39:59 +07:00
Faisal Amir
50b1fc56a2 fix: support markdown breakline 2024-01-01 01:12:30 +07:00
Faisal Amir
bd85febe3d
fix: enable command enter on dialog confirmation clean thread (#1261) 2023-12-30 21:45:08 +07:00
Louis
8757d4d086
fix: input message duplicated due with some input sources (#1259) 2023-12-30 10:04:12 +07:00
Hieu
1e8e06feca
feat: update posthog configuration (#1258)
feat: update posthog configuration
2023-12-29 21:42:32 +07:00
Ho Duc Hieu
7d9b3e26a6 fix: change properties name 2023-12-29 21:32:16 +07:00
Ho Duc Hieu
22f6caa8cd feat: update posthog configuration 2023-12-29 20:52:24 +07:00
Ho Duc Hieu
234aa68cb9 feat: update posthog configuration 2023-12-29 20:41:25 +07:00
Louis
54750ed315
fix: mac users should not see GPU settings (#1255) 2023-12-29 16:45:40 +07:00
Louis
a9579a3cbd
fix: remove redundant gpu detection prompt event (#1254) 2023-12-29 16:37:34 +07:00
Louis
850a42cfb0
fix: engine settings GUI - feature toggle (#1252)
## Description
This feature is not fully implemented.
Blocking issues: #1250
2023-12-29 16:10:10 +07:00
hiento09
1ec8174700
Feature GPU detection for Jan on Windows and Linux (#1242)
* Add js function to generate gpu and cuda detection

* inference nitro manage via json file instead of bash and bat script

* Add /usr/lib/x86_64-linux-gnu/ to linux check gpu

* chore: add CPU - GPU toggle

* correct file path

* fix: exist file sync check

* fix: get resources path

* Fix error jan/engines create existed error

* Seting sync to file

* Fix error show notification for GPU

* Set notify default to true

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
Co-authored-by: Louis <louis@jan.ai>
2023-12-29 15:56:36 +07:00
Louis
5250061c11
feat: Jan Server, API and decoupled clients (#948)
* chore: expose fs apis

* chore: correct electron import path

* update download api

Signed-off-by: James <james@jan.ai>

* update chat_completion

Signed-off-by: James <james@jan.ai>

* fix electron import

Signed-off-by: James <james@jan.ai>

* feat: adding API support at 1337 (#991)

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>

* feat: Add /chat/completion api and handler

* chore: add todo for modelList

* chore: read engine.json for openai chat_completion (#1030)

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>

* refactor: move routes to shared node module

* refactor: exported modules from core with types (#1172)

* refactor: exported modules from core with types

* fix: fix file reading args

* refactor: fileManager handles

* fix: app issues with server refactoring

* refactor: shared server module (#1210)

* chore: resolve main

* chore: update makefile

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: NamH <NamNh0122@gmail.com>
Co-authored-by: hiro <vuonghoainam.work@gmail.com>
2023-12-28 17:57:39 +07:00
Louis
7feaf9694d
feat: Deprecate model.json ready state in favor of .download ext (#1238)
* feat: Deprecate model.json ready state in favor of .download ext

* refactor: resolve ts ignore

* chore: fix warning

* fix: path polyfill on Windows
2023-12-28 14:06:13 +07:00
NamH
cbc63da831
fix: #1183 Reveal in finder does not work on windows (#1239)
* fix(OpenFile): #1183 reveal in finder does not work on windows

Signed-off-by: James <james@jan.ai>
---------

Signed-off-by: James <james@jan.ai>
2023-12-28 13:00:20 +07:00
NamH
c580b4c848
feat: add engine settings (#1199)
* feat: add engine settings

Signed-off-by: James <james@jan.ai>
---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
2023-12-28 09:11:37 +07:00
Faisal Amir
959bae3419 fix: remove delay tooltip and click event 2023-12-27 22:32:56 +07:00
Faisal Amir
7c1d1efd4e
fix: enable enter command on dialog confirmation delete thread (#1218)
* fix: enable enter command on dialog confirmation delete thread

* fix: update copy delete thread dialog confirmation
2023-12-27 15:38:04 +07:00
Louis
85641741cf
fix: Cleared thread last message is not updated (#1225)
When a user clears the conversation in a thread, the last message displayed was still the old one. This led to confusion about whether or not the user had successfully cleared the conversation.
2023-12-27 15:35:36 +07:00