382 Commits

Author SHA1 Message Date
NamH
8dbb8d6536
fix: max value of max_tokens should follow context_length's value (#2969)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-05-30 19:01:00 +07:00
Faisal Amir
93ce01051c
fix: wrong direction icon collapse right panel (#2967)
* fix: wrong direction icon collapse right panel

* fix: add back social icon

* fix: modal troubleshoot

* fix: shadow transparent theme

* fix: enable nitro_tensorrt_llm

* fix: disabled model dropdown when local server running
2024-05-30 18:14:16 +07:00
Faisal Amir
b662c25007
fix: adjustment minor UI from qa feedback (#2963)
* feat: update minor ui from feedback

* fix: adjust spacing import model

* feat: edit title thread (#2964)

* feat: edit title thread

* fix: fix copies

* fix copies

* fix copies
2024-05-30 10:53:40 +07:00
Faisal Amir
faa09bd2bf
feat: Dekstop Revamp (#2877)
* feat: desktop revamp

* feat: refactor system monitor

* fix linter CI

* remove unused import component

* added responsive and resizeable component

* responsive and resizeable local server page

* finalize responsive and resizeable component

* fix scroll custom ui

* remove react scroll to bottom from modal troubleshoot

* fix modal troubleshoot ui

* fix setting gpu list

* text area custom scroll bar

* fix padding message input

* cleanup classname

* update inference engine model dropdown

* update loader style

* update quick ask ui

* prepare theme provider

* update dark theme

* remove update hotkey list model and navigation

* fix: cleanup hardcode classname

* fix: update feedback

* Set native theme electron

* update destop ui revamp from feedback

* update button icon component insider icon chat input message

* update model dropdown ui

* update tranaparent baclground

* update logo model provider

* fix: set background material acrylic support to blur background windows

* fix: update tranparent left and right panel

* fix: linter CI

* update app using frameless window

* styling custom style minimize, maximize and close app

* temporary hidden maximize window

* fix: responsive left and right panel

* fix: enable click outside when leftpanel responsive

* fix: remove unused import

* update transparent variable css windows

* fix: ui import model

* feat: Support Theme system (#2946)

* feat: update support theme system

* update select component

* feat: add theme folder in root project

* fix: padding left and right center panel

* fix: update padding left and right

* chore: migrate themes

* fix: rmdirsync error

* chore: update gitignore

* fix: cp recursive

* fix: files electron package json

* fix: migration

* fix: update fgit ignore

---------

Co-authored-by: Louis <louis@jan.ai>

* fix: update feedback missing state when refrash app

* fix: error test CI

* chore: refactor useLoadThemes

* chore: cleanup unused vars

* fix: revert back menubar windows

* fix minor ui

* fix: minor ui

---------

Co-authored-by: Louis <louis@jan.ai>
2024-05-29 13:37:18 +07:00
Faisal Amir
b1856b689e
fix: unchange title and last message when clean or delete message (#2937) 2024-05-27 09:51:18 +07:00
NamH
6ba540d1f7
fix: fix crash when model name not ready (#2931)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-05-21 13:53:46 +07:00
NamH
0406b51615
fix: stop auto scroll if user manually scrolling up (#2874)
Co-authored-by: James <james@jan.ai>
2024-05-06 20:03:25 +07:00
Faisal Amir
9effb6a3a6
fix: validate context length (#2871)
* fix: adjust context_length min and conditional for remote model

* fix: remove console
2024-05-06 16:48:53 +07:00
Faisal Amir
a6ccd672c5
fix: validate max_token from context_length value (#2870) 2024-05-06 15:10:37 +07:00
Quentin Macheda
c21bc08793
Fix eslint issue in EditChatInput (#2864) 2024-05-03 19:16:06 +07:00
Quentin Macheda
2016eae0c9
Remove hidden overflow property of tailwind + Update buttons position (under textarea) (#2856)
Please be aware of the lint prettier failed
2024-05-03 15:11:29 +07:00
NamH
7d4cc67aa1
fix: stop server if failed to load model (#2807)
fix: load model error start server state not update

Co-authored-by: James <james@jan.ai>
2024-04-24 20:20:15 +07:00
Louis
da161cd159
fix: override cpu_threads setting from model.json (#2789) 2024-04-23 15:09:48 +07:00
NamH
83e9e2b80a
chore: set default context length to 2048 (#2776)
Co-authored-by: James <james@jan.ai>
2024-04-22 19:57:00 +07:00
Louis
252858743a
fix: wrong condition for GPU acceleration (#2770) 2024-04-21 22:34:05 +07:00
NamH
da6c648e47
refactor: good bye react-scroll-to-bottom (#2769)
Co-authored-by: James <james@jan.ai>
2024-04-21 22:30:25 +07:00
Louis
7725347cdb
feat: add LaTeX extension support via Marked (#2766) 2024-04-21 18:18:57 +07:00
Van Pham
8c3dd3a1af
chore: correct copy for Jan data folder to highlight folder intact (#2751) 2024-04-18 11:48:19 +07:00
NamH
95632788e4
chore: default context length to 2048 (#2746) 2024-04-17 19:14:51 +07:00
NamH
31397de2d1
Refactor/deprecate hugging face ext (#2620)
* refactor: deprecate huggingface extension

Signed-off-by: James <james@jan.ai>
2024-04-16 17:23:45 +07:00
Faisal Amir
49401bd8eb
fix: broken several ui when model name too long (#2728) 2024-04-15 21:52:36 +07:00
Louis
9369ac3e8b
Merge branch 'dev' into main 2024-04-15 14:57:31 +07:00
Andreas Deininger
81e8889568
Fix typos (#2714) 2024-04-15 13:27:28 +07:00
Hoang Ha
b908ae2933
Chore: Change CommandR to unavailable (#2722)
* fix: move to comming soon

* fix: Q4 for consistancy

* version pump extension

* pump version model

* fix: highlight unsupported tag

---------

Co-authored-by: Louis <louis@jan.ai>
2024-04-15 12:57:52 +07:00
Faisal Amir
1619478250
enhancement: update input component dynamic text alignment (#2712) 2024-04-15 09:48:57 +07:00
Louis
997d0e72c5
fix: add new shortcut to create new thread (#2701) 2024-04-12 14:06:47 +07:00
Louis
d5946e68cd
fix: broken thread settings - component disabled (#2696) 2024-04-11 23:53:59 +07:00
NamH
7d67087919
fix: add markdown support for extension description (#2691)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-04-11 17:43:59 +07:00
Van-QA
cdab762a6a feat: add new test for the Use model button from Hub 2024-04-11 17:39:49 +07:00
Van-QA
ed7ba2cbf1 feat: init element for new thread 2024-04-11 17:39:49 +07:00
NamH
3deaa8f7ee
fix: not able to update model setting in local api (#2687)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-04-11 15:49:39 +07:00
Louis
065ed03099
fix: wrong monitoring system information type (#2679) 2024-04-11 11:07:31 +07:00
Louis
b19234ed71
chore: Extension should have product name in manifest (#2675)
* chore: Extension should have product name in manifest

* chore: typo
2024-04-11 09:50:58 +07:00
Louis
d93d74c86b
feat: nitro additional dependencies (#2674) 2024-04-11 09:13:02 +07:00
NamH
69f73b86c4
fix: api server chat completion error for remote model (#2671)
* fix: api server chat completion error for remote model

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

* fix: duplicate setting in local api server

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

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-04-10 18:13:32 +07:00
Louis
3f23de6c28
feat: move log into monitoring extension (#2662) 2024-04-10 14:35:15 +07:00
zhhanging
5a9c63a776
handle enter key in cjk input method (#2657)
Co-authored-by: zhhanging <hang@mindrank.ai>
2024-04-09 21:50:15 +07:00
Louis
c31a6ef4d3
fix: missing api key error handling (#2645) 2024-04-09 11:33:12 +07:00
Louis
9479beb7d1
fix: unload model while loading cause unknown error (#2649)
* fix: unload model while loading cause unknown error

* chore: mask placeholder
2024-04-09 11:31:42 +07:00
Inchoker
1244f03f66
feat: mistral inference engine extension (#2569)
* Add new feat: Inference Mistral extension

* change settings

* nitpicking fix

* fix model position and add mistral registerModel

* remove irrelevant changes

* change desc of mistral medium

Co-authored-by: Louis <louis@jan.ai>

* change desc of mistral small

Co-authored-by: Louis <louis@jan.ai>

* change desc of mistral large

Co-authored-by: Louis <louis@jan.ai>

* remove unpopular mistral model

* replace placeholder

* sort remaining models using size

---------

Co-authored-by: Jack Tri Le <Jack>
Co-authored-by: Louis <louis@jan.ai>
2024-04-09 11:18:03 +07:00
NamH
c0c038f4f7
chore: filter gguf files when importing model on windows (#2653)
Co-authored-by: Louis <louis@jan.ai>
2024-04-09 10:36:01 +07:00
Louis
762d8879de
fix: redirect to extension setting (#2626) 2024-04-08 09:50:31 +07:00
Louis
f8cf93a906
chore: add GPU driver and toolkit status (#2628) 2024-04-08 09:50:16 +07:00
Inchoker
815a7aef96
Rearrange model position in Hub page (#2622)
* Rearrange model position in Hub page

* fix linting

* Update web/screens/ExploreModels/ExploreModelList/index.tsx

Co-authored-by: Louis <louis@jan.ai>

---------

Co-authored-by: Jack Tri Le <Jack>
Co-authored-by: Louis <louis@jan.ai>
2024-04-06 00:44:28 +07:00
Louis
9303e7aeb4
fix: object is destroyed block app exit (#2623) 2024-04-05 14:30:43 +07:00
GenkaOk
089e311bfd
Add API prefix settings (#2528)
Co-authored-by: Van Pham <64197333+Van-QA@users.noreply.github.com>
2024-04-04 19:45:45 +07:00
Louis
1eaf13b13e
fix: cancel loading model with stop action (#2607) 2024-04-04 10:57:54 +07:00
Louis
931f1da28e
fix: duplicated error message (#2602) 2024-04-04 08:53:10 +07:00
Louis
6f0ee23776
fix: missing load model error message (#2581) 2024-04-02 22:16:43 +07:00
Louis
9797e5b05f
fix: broken auto link (#2580) 2024-04-02 18:45:35 +07:00