152 Commits

Author SHA1 Message Date
Louis
0e48be67e8
feat: support multiple model binaries (#1659)
* feat: Support multiple model binaries

* fix: Update downloadModel with multiple binaries handler

* feat: Add 3 models with multiple binaries

* chore: fix model download

* fix: model file lookup & model path

* chore: add .prettierrc

* chore: refactor docs

* chore: bump model version

* fix(capybara): add filename

* fix(codeninja): add file name + llama model path

* fix(default): add llama model path

* fix(deepseek coder): add filename

* fix(deepseek 33B): add filename

* fix(dolphin mixtral): add filename

* fix(llama2-chat): add filename

* fix(llama2-70B): add filename

* fix(mistral 7b): add filename + model path

* fix(bakllava): correct size model

* fix(llava-7b): correct size model

* fix(llava-13b): correct size model

* fix(mixtral-8x7b): add file name + modelpath

* fix(noramaid-7b): add file name + modelpath

* fix(openchat-7b): add file name + modelpath

* fix(openhermes-7b): add file name + modelpath

* fix(phi2-3b): add file name + modelpath

* fix(phind): add file name + modelpath

* fix(solarslerp): add file name + modelpath

* fix(starling): add file name + modelpath

* fix(stealth): add file name + modelpath

* fix(tinyllama): add file name + modelpath

* fix(trinity): add file name + modelpath

* fix(tulu): add file name + modelpath

* fix(wizardcoder): add file name + modelpath

* fix(yi): add file name + modelpath

* update from source -> sources

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

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: hiro <vuonghoainam.work@gmail.com>
Co-authored-by: hahuyhoang411 <hahuyhoanghhh41@gmail.com>
Co-authored-by: James <james@jan.ai>
2024-01-25 14:05:33 +07:00
Faisal Amir
6ba48bc1e3
feat: update UI allow user change folder (#1738)
* feat: wip ui jan folder setting

* change input disabled

* finished change directory jan folder

* fix overlap value input current path folder

* make app reload to latest page

* fix: add experimental feature toggle til the next release

---------

Co-authored-by: Louis <louis@jan.ai>
2024-01-24 22:13:58 +07:00
Faisal Amir
1b794b5337
fix: input port have range validation (#1741)
* fix port cannot be empty and have range validation

* fix: do not allow user to start server with blank port config (after navigating back)

* fix: thread disable button color

---------

Co-authored-by: Louis <louis@jan.ai>
2024-01-24 21:33:45 +07:00
Faisal Amir
69ff85f66a feat: improvement ux for local api server 2024-01-22 19:05:40 +07:00
Faisal Amir
a3f2a16cb4 fix: switching loader from remote to local model from thread right panel 2024-01-22 14:36:45 +07:00
Faisal Amir
612445b4fa fix: loader bar selected model right panel 2024-01-22 14:36:45 +07:00
Faisal Amir
0e3df8d9a2 remove optional serveEnabled params 2024-01-22 12:54:51 +07:00
Faisal Amir
25d09e7fe9 fix: disabled apikey while server running 2024-01-22 12:54:51 +07:00
Faisal Amir
858ec68d60 loader bar stopping model 2024-01-22 11:37:56 +07:00
Louis
a50ea4a634
refactor: deprecate extension type implementation (#1677)
* refactor: deprecate extension type implementation

* chore: update README.md

* refactor: EventName to use the events defined in /types
2024-01-22 10:26:49 +07:00
Faisal Amir
fc025f63ab fix: avoid random text select when collapse panel 2024-01-17 15:39:53 +07:00
Faisal Amir
deff1f54c8 remove unused code 2024-01-17 13:14:30 +07:00
Faisal Amir
f7fe1a1530 fix disabled right panel while server running 2024-01-17 13:14:30 +07:00
Faisal Amir
8eb5012aea fix z-index dropdown vertical more option 2024-01-17 13:14:30 +07:00
Faisal Amir
8d61d1ecda fix missing vertical more icon thread setting 2024-01-17 13:14:30 +07:00
Faisal Amir
382cf48898 hide inference params and remove subtitle show in finder 2024-01-17 13:14:30 +07:00
Faisal Amir
6b6a7a5cab fix resolve conflict 2024-01-17 13:14:30 +07:00
Faisal Amir
95225c3637 fix stop model first then start model when change on right panel setting 2024-01-17 13:14:30 +07:00
Faisal Amir
9fa684e480 reduce fake loader model start 2024-01-17 13:14:30 +07:00
Faisal Amir
14400452b8 allow start model when user select same value with selected model 2024-01-17 13:14:30 +07:00
Faisal Amir
292496ed20 fix localstorage user first time visit api dashboard 2024-01-17 13:14:30 +07:00
Faisal Amir
58161598c3 Add loader stating model on select dropdown 2024-01-17 13:14:30 +07:00
Faisal Amir
14fc686d50 Show alert when user first time visit api server 2024-01-17 13:14:30 +07:00
Faisal Amir
53cb96c205 WIP setting config api server 2024-01-17 13:14:30 +07:00
Faisal Amir
623dd62404 Showing empty state when logs are empty 2024-01-17 13:14:30 +07:00
Faisal Amir
056cc8e722 Add tooltip on every action start and stop button while server is running 2024-01-17 13:14:30 +07:00
Faisal Amir
f5eaa41d09 hiding menu icon collapse panel left in local server page 2024-01-17 13:14:30 +07:00
Faisal Amir
c570281e43 Add model right panel on api dashboard 2024-01-17 13:14:30 +07:00
Faisal Amir
167db02f04 refactor function click on finder / json to usePath 2024-01-17 13:14:30 +07:00
Faisal Amir
cf83292c26 disabled thread menu on ribbon when local server running 2024-01-17 13:14:30 +07:00
Faisal Amir
66fd0829db feat: added API server dashboard 2024-01-17 13:14:30 +07:00
Louis
246b12e54f
fix: wrong selected model ref (#1638) 2024-01-17 11:38:22 +07:00
NamH
db987e88f9
fix(Model): switch model caused app crash (#1596)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
2024-01-17 09:33:40 +07:00
NamH
eb70e139fc
chore(ShortcutModal): clean up shortcut modal (#1614)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-01-16 12:37:55 +07:00
Simon Lucido
3670e744b5 fix: #1545 long thread title
Signed-off-by: Simon Lucido <simon34280@gmail.com>
2024-01-16 11:56:14 +07:00
Louis
81ad936990
fix: switch model caused app crash (#1597) 2024-01-15 15:45:58 +07:00
Louis
0ffb756563
fix: #1559 Inference Parameters displayed on new thread with Openai GPT model (#1588) 2024-01-15 12:30:06 +07:00
Faisal Amir
901f49f4f5 fix: enable user set value manually model setting from input 2024-01-15 11:44:49 +07:00
NamH
4a2f5bce8d
fix(Thread): #1212 thread.json not created when user change thread settings (#1570)
Signed-off-by: nam <namnh0122@gmail.com>
2024-01-14 17:46:25 +07:00
Faisal Amir
a855027a5d feat: add compatibility tag to model selection in right panel 2024-01-12 15:56:59 +07:00
Louis
7dec382864
fix: could not change model params settings (#1547) 2024-01-12 13:35:30 +07:00
Louis
8b6f7e846e refactor: default max_tokens and ctx_len 2024-01-11 14:13:39 +07:00
Faisal Amir
5bd4637e34 Remove middle number slider component 2024-01-11 14:13:39 +07:00
Louis
19153c4137
fix: stop word update (#1457)
* fix: stop word update

* fix: enable stop settings

---------

Co-authored-by: hahuyhoang411 <hahuyhoanghhh41@gmail.com>
2024-01-11 10:03:59 +07:00
NamH
9183330480
fix(InferenceExtension): #1067 sync the nitro process state (#1493)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-01-10 14:15:17 +07:00
Louis
f82cf0d014
chore: error message update (#1473) 2024-01-09 16:21:14 +07:00
Faisal Amir
39cdd638d4 Add icon collapsible left panel and update keyboard shortcut page 2024-01-08 13:48:11 +07:00
Faisal Amir
3901280771 fix search command shortcut dialog and allow esc for hide dialog 2024-01-08 10:20:55 +07:00
Faisal Amir
febd4e4379 fix enable type in search command dialog 2024-01-08 10:20:55 +07:00
Faisal Amir
73566e3907 fix copy on shortcut view 2024-01-08 10:20:55 +07:00