256 Commits

Author SHA1 Message Date
Louis
917d69db37
fix: can not start model when server is not enabled from model settings page (#1774) 2024-01-25 18:11:31 +07:00
Faisal Amir
b9584db826 fix: input port local server not accepted alphabets 2024-01-25 16:56:29 +07:00
NamH
7f55c1bed1
fix(Log): server log is not display in windows (#1764)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-01-25 15:58:45 +07:00
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
Louis
5f65d007d9 fix: bring back open app directory 2024-01-25 11:27:51 +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
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
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
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
382cf48898 hide inference params and remove subtitle show in finder 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
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
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
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
05698cb60f WIP layout api server 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
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
Louis
26912783c4
fix: #1548 - duplicate command shortcut instruction (#1600) 2024-01-15 15:51:41 +07:00
Faisal Amir
1513158902 fix: adjust calculation hub labels using total RAM instead remaining RAM 2024-01-11 20:35:26 +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