350 Commits

Author SHA1 Message Date
Louis
15b9f8cd0e chore: instruction input should be textarea 2023-11-27 11:30:06 +07:00
Louis
c5ede361c7 feat: allow user to give instruction for the conversation 2023-11-27 11:30:06 +07:00
Louis
ec7703ec8d chore: app raises error when attempting to start a model that is already starting 2023-11-25 20:09:30 +07:00
Faisal Amir
ff01a6e7ed fix bug filter the list menu from command and make a symbol base on OS 2023-11-25 19:58:19 +07:00
Faisal Amir
62400243e0 Fix clickable small download button on chat screen 2023-11-25 19:57:25 +07:00
Louis
db17ec81cc fix: incorrect update progress bar visibility check 2023-11-24 13:26:07 +07:00
Louis
f7f1e3da74 fix: app shows wrong performance tag, all say not enough ram on windows 2023-11-23 16:21:01 +07:00
Louis
d0c44f70f1 fix: catch nitro exit process for a clearer message 2023-11-22 22:36:00 +07:00
Louis
b5717e03fe fix: should not raise error for the non relevant model starting requests 2023-11-22 22:36:00 +07:00
Louis
081c37bc84 chore: update local module link to reflect core update 2023-11-22 22:36:00 +07:00
Louis
de562ecaed chore: add stopping inference interface 2023-11-22 22:36:00 +07:00
Louis
c9cfebd7d3 chore: fix convo summary 2023-11-20 09:39:48 +07:00
Louis
d27fa7962f chore: typo 2023-11-20 09:39:48 +07:00
Louis
e6a295ccad chore: remove hacky delay 2023-11-20 09:39:48 +07:00
Louis
bb78683847 refactor: remove unused hooks and resolve no-explicit-any 2023-11-20 09:39:48 +07:00
Faisal Amir
cc68e42415 Fix title screen should not camel case 2023-11-20 09:36:16 +07:00
Faisal Amir
c21406ab1a Fix compatibility content not fully display 2023-11-20 09:12:17 +07:00
Louis
b60978bab3 chore: remove unused types 2023-11-16 22:57:28 +07:00
Louis
9f0efa56ce chore: update convo last message 2023-11-16 22:57:28 +07:00
Louis
c5d4163869 fix: model download state is not updated accordingly 2023-11-16 22:57:28 +07:00
Louis
38b2e5e7a2 refactor: entities references & logics 2023-11-16 22:57:28 +07:00
Louis
4823c4f3fe refactor: app entities 2023-11-16 22:57:28 +07:00
NamH
52d56a8ae1
refactor: move file to jan root (#598)
* feat: move necessary files to jan root

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

* chore: check model dir

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
2023-11-16 12:09:09 +07:00
Louis
89387c8a1b fix: state handling - should set active model to undefined if loaded fail 2023-11-14 21:02:29 +07:00
Louis
d7efd9813a chore: handle GGUFv1 error 2023-11-14 21:02:29 +07:00
Louis
7c2c1a2b3d chore: validate model status 2023-11-14 21:02:29 +07:00
Louis
67bc28dd85 chore: attempt to display the error message returned from the APIs 2023-11-14 21:02:29 +07:00
Louis
df6e9802f6
fix: wrong model available state check 2023-11-14 20:04:49 +07:00
NamH
1fc9c4e220
fix(#591): prevent duplicate message id issue (#595)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-11-14 09:37:54 +07:00
Faisal Amir
41003861f8 Fix weird padding vertical snippet code 2023-11-13 22:08:49 +07:00
Faisal Amir
51e7d87328 Remove unused font on layout template 2023-11-13 21:46:12 +07:00
Faisal Amir
dcc2b466d7 Using some function instead filter 2023-11-13 15:41:36 +07:00
Faisal Amir
bad29b8a4a Added downloadedModels as dependecies useEffect 2023-11-13 15:41:36 +07:00
Faisal Amir
2dc0b0b3ea Fix conditional class 2023-11-13 15:41:36 +07:00
Faisal Amir
d6c463674d Resolve reduce a rendering performance 2023-11-13 15:41:36 +07:00
Faisal Amir
5a197f1e73 Enable download conversation after deleted model 2023-11-13 15:41:36 +07:00
Faisal Amir
21a616e838 Download modal should truncate model name 2023-11-12 22:21:39 +07:00
Faisal Amir
ef3d89f33e suppoer multiple line input using textarea instead 2023-11-12 22:20:58 +07:00
Louis
7d607654db fix: preformatted text indents the first line strangely 2023-11-10 16:53:41 +07:00
Faisal Amir
2aae3bbab2 Remoeve unused import 2023-11-09 23:07:01 +07:00
Faisal Amir
455d16b01b Cleanup unused import 2023-11-09 23:07:01 +07:00
Faisal Amir
0bba06a7e2 Cleanup modal wrapper 2023-11-09 23:07:01 +07:00
Faisal Amir
bac0597251 Remove unused typeeffect module 2023-11-09 23:07:01 +07:00
Faisal Amir
eccf674a48 Prepare streaming text by status message 2023-11-09 23:07:01 +07:00
Faisal Amir
b752595554 Add loader buble chat 2023-11-09 23:07:01 +07:00
Faisal Amir
ac1c7018d8 Update convo state when user change model 2023-11-09 12:39:27 +07:00
Faisal Amir
f5e39fe2d7 Fix showing name of active model when delete conversation 2023-11-08 20:03:43 +07:00
Faisal Amir
f4d390cb4f Improve state of welcome screen 2023-11-08 08:43:21 +07:00
Louis
7e7f5e0dc4
chore: fixed an issue where app does not yield message result (#561) 2023-11-07 22:23:43 +07:00
Faisal Amir
2394c13065
ui: standalone UIKit and refactor (#557)
* Eslint import order

* Initial Uikit

* Rename file with camelCase

* Remove unused code

* Remove unused code

* Set position traficlight mac

* Grouping Ribbon, Topbar and Bottombar as layout

* Added image brand

* Moving feature toggle into context folder

* Fix active state of setting menu

* Cleanup downloadModel atom helper

* Cleanup useGetConfigureModel

* Added wave animation

* Create useMainViewState intead of import helper atom

* Remove unused code

* Take a back switch ui

* Toggle using switch component

* Add dynamic primary color

* Cleanup import

* Added uikit scroll area

* Add best practice form

* Added toaster container

* Fix loader container

* Add hooks useDownloadState

* Added tooltip on ribbon menu

* Added case user multiple download model

* Adjust input style with bigger ring

* Restyle my model screen

* Replace useStartStop model with useActiveModel

* Import icon using Icon name

* Fix missing login loading start and stop model

* WIP integrate with cmdk

* Move layout search bar on middle of app

* Added function cancel download

* Cleanup model explore

* Cleanup unused code

* Move app version in bototmbar or footer

* WIP chat screen

* WIP chat screen

* Cleanup style and remove unsed code

* Added command for showing downloaded model

* Fix missing keyframe loader dot animation

* Conditional loader of plugin setting

* WIP history list message

* chore: rebase main

* Adding script ui into root package

* Fix different version react hooks form

* Add close toaster

* Added status model active or not on list of command

* Conditional showing info if user don't have a model

* Disabled toolbar chat when user not yet have convo

* chore: fix state

* fix: get resource atom

* Fix conditional bottom bar

* fix: model download state

* Fix font

* Improve icon my model

* Add toaster delete chat

* Remove test classname

* Fix scroll chat body

* Fix scrolling chat body

* chore: add message update

* Add uikit into depedencies on root package

* Update chat flow

* Fix hot reload ui changes

* Increate background color chat screen light mode

* Added visual conversation active state

* Added build:uikit on gh actions

* chore: attempt to fix CI

* fix: deps

* fix: tests

* chore: attempt to fix CI

---------

Co-authored-by: Louis <louis@jan.ai>
2023-11-07 21:27:11 +07:00