304 Commits

Author SHA1 Message Date
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
0xSage
c556427905 more copy nits 2023-12-15 16:33:49 +08:00
0xSage
6158f8593a chore: in app copy fixes 2023-12-15 16:24:15 +08:00
Louis
d9b0625b17 chore: read and write openai settings 2023-12-15 14:14:59 +07:00
Faisal Amir
48195371e2 fix: prepare add UI input for openai key 2023-12-15 14:14:59 +07:00
hiento09
69cfeced99
Update posthog capture url list (#1022)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-12-15 12:10:30 +07:00
hiento09
66cd1817f9
fix bug #1013, enable posthog for release app version only (#1019)
Co-authored-by: Hien To <hien@jan.ai>
2023-12-15 10:52:59 +07:00
Faisal Amir
a83a3d4565 feat: app theme depend on localstorage instead native theme electron 2023-12-14 20:14:44 +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
Louis
137bc0e8a5
chore: limit analytics events capture (#1012) 2023-12-14 20:11:07 +07:00
Faisal Amir
4f41dab9b5 feat: move stop inference button into the send button 2023-12-14 16:40:51 +07:00
Faisal Amir
ef85220910 fix: remove console 2023-12-14 14:44:55 +07:00
Faisal Amir
8e551d0a06 fix: wrong selected model right panel 2023-12-14 14:44:55 +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
Louis
f22d7d99a7
chore: add desktop app analytics (#978) 2023-12-13 20:26:47 +07:00
Louis
3266014b29
fix: 963 can not run openai models on windows (#974) 2023-12-13 16:26:26 +07:00
hiro
df383e3d24
chore: remove ModelSettingParams import which is unused 2023-12-13 14:26:04 +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
c4d8defe94
refactor: deprecate invokers - auto proxying apis - strict types (#924)
* refactor: deprecate invokers

* refactor: define routes and auto proxying routes

* refactor: declare types for APIs, avoid making dynamic calls to any functions from the web

* chore: deprecate route handling from preload script

* refactor: deprecate unused apis
2023-12-11 13:10:53 +07:00
Faisal Amir
c811ec611e Fix floating border outside card accordion 2023-12-10 15:42:35 +07:00
Louis
b939692187 chore: stop inference event 2023-12-08 23:07:30 +07:00