219 Commits

Author SHA1 Message Date
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
hiro
1177007ad6 fix: Update code based on comments from @james 2023-12-08 23:07:30 +07:00
hiro
fbf8ff9d3d fix: Update lint for engine in ThreadAssistantInfo 2023-12-08 23:06:49 +07:00
hiro
9daee14167 fix: Add hack waiting for model loading 2023-12-08 23:06:49 +07:00
hiro
975e9718bf chore: remove unused console.log 2023-12-08 23:06:49 +07:00
hiro
6fe901b83c fix: Hub fix for undefined model size 2023-12-08 23:06:49 +07:00
hiro
bb4b4c5c20 fix: Fix resend button with model object 2023-12-08 23:06:49 +07:00
hiro
6add24c643 fix: debugging 2023-12-08 23:06:49 +07:00
hiro
4266d86226 fix: Passing model object instead of model id 2023-12-08 23:06:49 +07:00
hiro
6f55cffb20 fix: Add model object to MessageRequest 2023-12-08 23:06:49 +07:00
hiro
fb8729bff3 fix: Check model engine openai for Use 2023-12-08 23:06:49 +07:00
hiro
ffbfaf1fd1 feat: Add Event OnModelStop emission to web 2023-12-08 23:06:49 +07:00
hiro
a51b206cb8 fix: Add OnModelStopped Event 2023-12-08 23:06:49 +07:00
Louis
489c8584a9 chore: models ref event handler 2023-12-08 23:06:49 +07:00
hiro
1bc5fe64f3 fix: Use Events for init, load, stop models 2023-12-08 23:06:49 +07:00
Louis
8bde944122
fix: import_typescript.default.isTokenKind is not a function (#923) 2023-12-08 22:05:33 +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
Faisal Amir
004b7b8a64 bug: fix tag description showing a title and fix card right panel 2023-12-06 16:17:55 +07:00
Louis
9e6fdf8c94
fix/no-assistant-available-fresh-install (#876) 2023-12-06 16:17:10 +07:00
Louis
a3bc76892c
chore: update model ranking (#874)
* fix/models-sorting-order

* fix: cover height should be fixed
2023-12-06 14:21:42 +07:00
Faisal Amir
d63c9c3d46 Add cover image model hub screen 2023-12-06 13:05:39 +07:00
Louis
f3fbade975
fix: delete message break the entire thread (#869) 2023-12-06 11:41:16 +07:00
Louis
7656048e64
fix: can not download multiple models at once (#867) 2023-12-06 11:18:05 +07:00
NamH
aa8e700be5
fix: update wrong main view state when use a model (#861)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-12-05 18:21:03 +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
27b62ed91a Temporary hide tabs element on hub screen 2023-12-05 10:34:55 +07:00
Faisal Amir
33ac21cee8 Fix broken position banner hub screen 2023-12-05 10:34:55 +07:00
Faisal Amir
bd9acf0971 Fix state loading when active model from hub 2023-12-04 22:48:36 +07:00
Faisal Amir
491f4d7289 Sort by recommended tags 2023-12-04 22:48:36 +07:00
Faisal Amir
860dfea3aa Use badge primary for tags model 2023-12-04 22:48:36 +07:00
Faisal Amir
8345a13d0c Add reccommended tag 2023-12-04 22:48:36 +07:00
Faisal Amir
18b0046441 Give more space between download action and size hub screen 2023-12-04 22:48:36 +07:00
Faisal Amir
3aa58cee62 Finished flow hub screen 2023-12-04 22:48:36 +07:00
Faisal Amir
47c15fd550 Relayout hub screen 2023-12-04 22:48:36 +07:00