275 Commits

Author SHA1 Message Date
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
Louis
a7f186cc5e
feat: users should be able to switch models mid-thread (#1226)
## Problem
Right now users have to start a new thread to use another model which causes a lot of confusion to our users.

fixes #1201
2023-12-27 15:35:27 +07:00
Faisal Amir
4cd7466659 feat: temporary link how to import model 2023-12-26 15:37:16 +07:00
Faisal Amir
dd0a18ad1d fix: darkmode broken color 2023-12-25 11:28:07 +07:00
NamH
771f445a6a
fix(Thread): #1168 fix newly created thread cannot select model after restart (#1176)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-12-23 11:16:58 +07:00
0xSage
cf4de3f30f chore: copy fixes 2023-12-22 12:11:09 +08:00
Faisal Amir
c95c765812 fix: added dialog confimation clean thread 2023-12-21 10:34:54 +07:00
Faisal Amir
c723fb6866 fix: remove remote model from shortcut models dialog 2023-12-21 09:50:40 +07:00
NamH
0c701f7c9b
fix(Thread): #1119 focus on the first thread to prevent blank chat screen (#1127)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-12-20 20:41:10 +07:00
Louis
2fb7bfc020
fix: ui issue - all models are activated (#1120) 2023-12-20 16:39:50 +07:00
Louis
5a0cec931e
fix: should not hide empty message away (#1116) 2023-12-20 15:53:27 +07:00
Faisal Amir
88fc0715b2
fix: added tooltip for user cannot change model after starting thread (#1115)
* fix: added tooltip for user cannot change model after starting thread

* fix: typo content tooltip
2023-12-20 15:24:09 +07:00
Faisal Amir
040987d1cd
fix: remote model always active badges (#1113)
* fix: remote model always active badge and doesn't have menu start and stop model

* fix: remote model condition check

---------

Co-authored-by: Louis <louis@jan.ai>
2023-12-20 15:11:55 +07:00
Louis
a485fa9c1f
fix: handle chat completion state with enter button (#1114) 2023-12-20 14:59:40 +07:00
Faisal Amir
c68d0371a0
fix: model active indicator only show when model activated (#1110) 2023-12-20 14:59:13 +07:00
Louis
e0370210a7
fix: #1096 yield error message upon thread switching (#1109) 2023-12-20 14:58:47 +07:00
Faisal Amir
9b448d478c
fix: toaster success deleted thread showing id intead of active model (#1111) 2023-12-20 14:58:31 +07:00
NamH
a9c3416236
fix(Thread): #1064 message being added to wrong thread if switching thread (#1108)
when waiting for LLM to response

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-12-20 12:36:31 +07:00
Faisal Amir
e21cbc752a
fix: update copy setting page (#1105) 2023-12-20 10:44:06 +07:00
Faisal Amir
e71070ac03 fix: search recommended model 2023-12-19 21:16:58 +07:00
NamH
84fb5ef346
fix(Thread): #1042 allow create new thread by clicking Use in Jan Hub (#1103)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-12-19 17:06:57 +07:00
Faisal Amir
ed04d850c1 fix: update copy dialog confimation delete thread 2023-12-19 14:09:23 +07:00
Faisal Amir
6efc52f3bd fix: added dialog confirmation when delete thread 2023-12-19 14:09:23 +07:00
NamH
7a148ea025
feat(ModelSetting): #1065 update state of model setting between threads (#1090)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-12-19 13:15:15 +07:00
Faisal Amir
c1800b8f57 fix: system monitor broken layout when responsive 2023-12-19 12:37:55 +07:00
Faisal Amir
99acaffd2c fix: showig placeholder when model metadata size is empty 2023-12-19 10:52:22 +07:00
Faisal Amir
87facacb9a fix: autoresize chatbox textarea 2023-12-19 10:52:22 +07:00
NamH
55ab4ae70f
fix(thread): #1043 default model to prefer active model (#1070)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-12-19 10:51:41 +07:00
Faisal Amir
aa69bc5f46 feat: copy button for code block 2023-12-18 22:42:19 +07:00
hiento09
9398b734a1
Posthog disable click event and increase timeout for nitro load model request (#1060)
Co-authored-by: Service Account <service@jan.ai>
2023-12-18 21:10:36 +07:00