159 Commits

Author SHA1 Message Date
Faisal Amir
1513158902 fix: adjust calculation hub labels using total RAM instead remaining RAM 2024-01-11 20:35:26 +07:00
Louis
8b6f7e846e refactor: default max_tokens and ctx_len 2024-01-11 14:13:39 +07:00
Faisal Amir
5bd4637e34 Remove middle number slider component 2024-01-11 14:13:39 +07:00
Faisal Amir
c64d0038f3 fix: reduce hub header panel contrast color button and badge 2024-01-11 14:10:31 +07:00
Faisal Amir
487f4f7891 added calculation active model size into available RAM 2024-01-10 18:26:04 +07:00
Faisal Amir
aca6fee091 Added calculation hub label 2024-01-10 18:26:04 +07:00
Faisal Amir
db99a8d8bb feat: hub recommendation labels 2024-01-10 18:26:04 +07:00
Louis
74ed081e4f
refactor: add app and nitro log - resolve dependencies issue (#1447)
* refactor: add app and nitro log - resolve dependencies issue

* fix: update guidance message on inference error

* chore: add timestamp to log files

* chore: add clear logs action
2024-01-10 16:43:28 +07:00
Faisal Amir
067eb4e4d1 fix: enable text selection codeblock 2024-01-09 16:56:49 +07:00
Louis
f82cf0d014
chore: error message update (#1473) 2024-01-09 16:21:14 +07:00
Faisal Amir
aed74299af fix typo copy 2024-01-08 13:48:11 +07:00
Faisal Amir
39cdd638d4 Add icon collapsible left panel and update keyboard shortcut page 2024-01-08 13:48:11 +07:00
NamH
82ffcd06f1
feat(UI): #1404 make left side bar collapsible by hot key (#1420)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-01-08 09:26:03 +07:00
Abhishek Mishra
989043b5bc Fixed Bug of Chat reply goes off screen 2024-01-07 19:33:12 +07:00
Faisal Amir
d59f83c8e9 fix: show hide section engine params 2024-01-05 11:38:33 +07:00
Faisal Amir
0d8e6204b8 fix: conditional section promp_template 2024-01-05 11:28:09 +07:00
Faisal Amir
13ac421cdd fix: copy stream tooltip and hide section when no params setting 2024-01-05 11:28:09 +07:00
Louis
08957166a6 Update web/screens/Chat/ThreadList/index.tsx 2024-01-05 09:54:34 +07:00
Faisal Amir
497c51cc4f fix: remove unused import 2024-01-05 09:54:34 +07:00
Faisal Amir
370f0c4696 fix: stop streaming while delete and clean thread 2024-01-05 09:54:34 +07:00
Faisal Amir
51f8d011fb fix stop streaming when user delete or clean thread 2024-01-05 09:54:34 +07:00
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
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
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
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
hiento09
1d902567f7
Switch from Gigabyte to Gibibyte (#1286)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2024-01-02 14:54:41 +07:00
Louis
12b037e2cb
fix: swagger CSP issue (#1284) 2024-01-02 12:48:00 +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
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
Louis
54750ed315
fix: mac users should not see GPU settings (#1255) 2023-12-29 16:45:40 +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