407 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
d6242def98 fix: active model when start server 2024-01-23 18:12:38 +07:00
Faisal Amir
7d511cfbb0 update login calculate not enough ram for error message 2024-01-23 18:12:18 +07:00
Faisal Amir
8ce454ae61 fix: error message when not enough RAM 2024-01-23 18:12:18 +07:00
hiro
5c8c6f4795 fix: Change to fixed localhost instead of using host variable 2024-01-23 17:55:23 +07:00
Faisal Amir
69ff85f66a feat: improvement ux for local api server 2024-01-22 19:05:40 +07:00
Louis
b4f104f411
fix: Jan server is showing blank page (#1702) 2024-01-22 16:05:36 +07:00
NamH
4cf47777e6
feat: allow user to move jan folder (#1649)
* feat: allow user to move jan folder

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

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
2024-01-22 14:37:46 +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
hiro
a8cf4192d2 fix: Change to using host instead of fixed 127.0.0.1 2024-01-22 12:24:52 +07:00
hiro
b8bc0cd171 fix: Change to 127.0.0.1 to ensure it's always localhost 2024-01-22 12:24:52 +07:00
hiro
8e4a875e2f fix: Only render API reference if Server is enabled 2024-01-22 12:24:52 +07:00
hiro
8c23db6388 fix: Update dynamic port 2024-01-22 12:24:52 +07:00
hiro
855f3511b7 fix: Update reference link to local 2024-01-22 12:24:52 +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
Louis
99d083d84a
refactor: file prefix replace utils & add unit test (#1676)
* refactor: file prefix replace utils

* chore: add unit tests for core module
2024-01-22 10:05:47 +07:00
markmehere
34d0e6deee
feat: HTTP proxy support (#1562)
* feat: allow self-signed certificates

* fix: Extra information in self signed error

* chore: simplified PR

* feat: allow https proxies

* fix: trim() may save one or two user headaches

* Update web/context/FeatureToggle.tsx

---------

Co-authored-by: Louis <louis@jan.ai>
Co-authored-by: hiento09 <136591877+hiento09@users.noreply.github.com>
2024-01-19 10:25:18 +07:00
Faisal Amir
334baed782 feat: relayout menu left panel setting page 2024-01-17 21:29:26 +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
Louis
2d9120f34a chore: refactor server configs 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
a6aec56203 enable button start server when user first time visit 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
2f417ef5db Make content log overflow scroll Y and X 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
1ccbcc6fd5 Add tooltip on every action start and stop button while server is running 2024-01-17 13:14:30 +07:00
Faisal Amir
b810fb30cb remove experimental server api on setting 2024-01-17 13:14:30 +07:00
Faisal Amir
f3860d4da9 WIP layout 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
8b9d8e8301 remove experimental server api on setting 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
005c47f0ae make getServerlog function as dependencies hooks 2024-01-17 13:14:30 +07:00
Faisal Amir
3a3d7cb988 added functiong useServer log for get, open, and clear log 2024-01-17 13:14:30 +07:00