683 Commits

Author SHA1 Message Date
Faisal Amir
05570ea300
chore: upgrade marked-katex-extension (#3049) 2024-07-12 14:37:13 +07:00
NamH
d2284070fc
fix: disable flash_attn if vulkan is enabled (#3080)
Signed-off-by: James <namnh0122@gmail.com>
2024-06-21 14:27:16 +07:00
Van Pham
af92c1de72
Merge pull request #3058 from janhq/fix/dropdown-my-model
fix: position dropdown on my model
2024-06-20 16:23:40 +07:00
Faisal Amir
de48c0db28 fix: miss position dropdown on my model 2024-06-18 10:45:33 +07:00
NamH
059acb0b9a
chore: update some copy (#3034)
Signed-off-by: James <namnh0122@gmail.com>
2024-06-13 12:57:43 +07:00
Faisal Amir
491f563f0f
fix: enable window control button on linux (#3028) 2024-06-12 21:07:19 +07:00
Faisal Amir
93fc228a26
fix: reduce font-weight for message (#3018) 2024-06-11 18:46:40 +07:00
Faisal Amir
44536ec929
feat: enable hotkey collapse right panel (#3019) 2024-06-11 18:46:27 +07:00
Faisal Amir
cf8f401dab
feat: update icon alert warning and copies tooltip model dropdown (#3021)
* feat: update icon alert warning and copies tooltip model dropdown

* chore: update loader when user click download model dropdown
2024-06-11 18:46:12 +07:00
Faisal Amir
aecc645a1a
fix: bring back maximize button (#3024) 2024-06-11 18:46:00 +07:00
NamH
6ee5d16e5c
fix: duplicate role inside messages cause some model to refuse to answer (#3006)
* fix: duplicate role inside messages cause some model to refuse to answer

Signed-off-by: James <namnh0122@gmail.com>

* update

* Bump cortex to 0.4.12

* some model require not empty message

update

---------

Signed-off-by: James <namnh0122@gmail.com>
Co-authored-by: Van Pham <64197333+Van-QA@users.noreply.github.com>
2024-06-10 16:19:31 +07:00
phoval
57177d4409
fix: undefined browser (#3011)
electron is not available
2024-06-10 10:13:27 +07:00
Faisal Amir
af240bfe75
fix: quickask mixing color schema (#2979) 2024-06-03 10:06:22 +07:00
Faisal Amir
1ce15e6bc4
fix: missing markdown list and blackquote (#2980) 2024-06-03 09:43:45 +07:00
NamH
02478b3242
feat: add input actions for setting item (#2978)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-06-02 22:41:27 +07:00
Faisal Amir
41404e1abd
fix: glitch modal troubleshoot (#2976) 2024-05-31 14:22:51 +07:00
Faisal Amir
efff5fad83
feat: update setting tooltip explainer (#2972) 2024-05-31 13:47:18 +07:00
Faisal Amir
f0f273bf07
fix: clickable remote model (#2970) 2024-05-31 10:14:27 +07:00
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
NamH
540999c441
fix: max_tokens and ctx_len max value will follow model.json (#2961)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-05-29 15:19:27 +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
Van Pham
611a361672
Update package.json to use next@14.2.3 (#2949) 2024-05-27 13:15:01 +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
08d15e5dc7
fix: deeplink when app not open on linux (#2893)
Co-authored-by: James <james@jan.ai>
2024-05-13 16:47:27 +07:00
NamH
6af4a2d484
feat: add deeplink support (#2883)
* feat: add deeplink support

* fix windows not receive deeplink when not running

---------

Co-authored-by: James <james@jan.ai>
2024-05-13 09:37:05 +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
0bad1a479f
fix: remove scroll animation chat screen (#2819)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-04-25 17:24:29 +07:00
Louis
b4b8c862c0
fix: infinite talking in auto thread titles generators (#2810) 2024-04-24 21:17:19 +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
48f351aefd
fix: new thread with overridden settings (#2798) 2024-04-24 14:14:04 +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
NamH
b058dda8bb
fix: thread title not persisted (#2765)
* fix: thread title not persisted

* remove unnecessary system message

---------

Co-authored-by: James <james@jan.ai>
2024-04-21 18:47:35 +07:00
Louis
7725347cdb
feat: add LaTeX extension support via Marked (#2766) 2024-04-21 18:18:57 +07:00
Louis
54af9f9e43
fix: broken stop word input - support multiple stop words (#2762) 2024-04-21 17:54:41 +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
83f9e965d8
fix: user cannot click on copy icon of model id (#2744)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-04-17 15:57:19 +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