86 Commits

Author SHA1 Message Date
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
Gri-ffin
32a82ad565 Enable scrolling in the message chat box 2024-01-02 10:28:01 +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
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
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
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
Faisal Amir
dd0a18ad1d fix: darkmode broken color 2023-12-25 11:28:07 +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
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
5a0cec931e
fix: should not hide empty message away (#1116) 2023-12-20 15:53:27 +07:00
Louis
a485fa9c1f
fix: handle chat completion state with enter button (#1114) 2023-12-20 14:59:40 +07:00
Louis
e0370210a7
fix: #1096 yield error message upon thread switching (#1109) 2023-12-20 14:58:47 +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
87facacb9a fix: autoresize chatbox textarea 2023-12-19 10:52:22 +07:00
Faisal Amir
aa69bc5f46 feat: copy button for code block 2023-12-18 22:42:19 +07:00
Louis
cb3055ca2e
fix: #995 - Fix onboarding state and model sorting (#1009)
* fix: #995 - Fix onboarding state and model sorting

* fix: typo
2023-12-14 20:11:17 +07:00
Faisal Amir
4f41dab9b5 feat: move stop inference button into the send button 2023-12-14 16:40:51 +07:00
Faisal Amir
01939afb40 fix: separate model start loader 2023-12-14 13:42:21 +07:00
Faisal Amir
c17a4fec6e feat: fake loader when starting model 2023-12-14 13:42:21 +07:00
NamH
121dc119f1
feat: adding model params (#886)
* feat: adding model params

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

* chore: inference request parameter

* Improve ui right panel model params

* Remove unused import

* Update slider track for darkmode

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
Co-authored-by: Faisal Amir <urmauur@gmail.com>
2023-12-11 23:58:24 +07:00
Louis
b939692187 chore: stop inference event 2023-12-08 23:07:30 +07:00
Faisal Amir
e836eb1a2e Remove console.log 2023-12-07 15:05:26 +07:00
Faisal Amir
f033360fdb fix formatting syntax 2023-12-07 15:05:26 +07:00
Louis
f3fbade975
fix: delete message break the entire thread (#869) 2023-12-06 11:41:16 +07:00
Louis
848bdbc148
fix: handle crash issue on hljs highlighting (#859) 2023-12-05 16:30:47 +07:00
Louis
07fc1a91f3
fix: empty assistant instruction by default (#855)
* fix: empty assistant instruction by default

* chore: there should be no error dialog for in-app update
2023-12-05 15:46:18 +07:00
Faisal Amir
3aa58cee62 Finished flow hub screen 2023-12-04 22:48:36 +07:00
NamH
dacb00ed37
fix: not update active model when using resend button (#834)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-12-04 17:40:47 +07:00
Faisal Amir
424b00338e
feat: revamp thread screen (#802)
* Make thread screen as default screen

* Blank state when user have not any model

* Cleanup topbar thread screen

* Improve style right panel

* Add instructions right panel

* Styling thread list history

* Resolve conflict

* Default title new thread

* Fix trigger panel sidebar

* Make default right panel false when no activethread

* Fix CI test

* chore: assistant instruction with system prompt

* Fix title and blank state explore the hub

* Claenup style thread screen and add buble message for assitant

* Remove unused import

* Styling more menus on thread list and right panel, and make max height textarea 400 pixel

* Finished revamp ui thread

* Finished system monitor UI

* Style box running models

* Make animate right panel more smooth

* Add status arround textarea for starting model info

* Temporary disable hide left panel

* chore: system resource monitoring update

* copy nits

* chore: typo

* Reverse icon chevron accordion

* Move my models into setting page

---------

Co-authored-by: Louis <louis@jan.ai>
Co-authored-by: 0xSage <n@pragmatic.vc>
2023-12-04 10:55:47 +07:00
NamH
1bf4c1b621
feat: pre-populate Jan's /models folder (#796)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-12-01 18:03:51 +07:00
Louis
1143bd3846
refactor: jan extensions (#799)
* refactor: rename plugin to extension
2023-12-01 11:30:29 +07:00
NamH
86e693b250
refactor: model plugin to follow new specs (#682)
* refactor: model plugin to follow new specs

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

* chore: rebase main

chore: rebase main

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
2023-11-29 11:36:59 +07:00