192 Commits

Author SHA1 Message Date
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
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
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
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
Louis
9369ac3e8b
Merge branch 'dev' into main 2024-04-15 14:57:31 +07:00
Louis
d5946e68cd
fix: broken thread settings - component disabled (#2696) 2024-04-11 23:53: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
d93d74c86b
feat: nitro additional dependencies (#2674) 2024-04-11 09:13:02 +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
Louis
762d8879de
fix: redirect to extension setting (#2626) 2024-04-08 09:50:31 +07:00
Louis
9303e7aeb4
fix: object is destroyed block app exit (#2623) 2024-04-05 14:30:43 +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
Louis
c6198ae423
fix: quick ask blocks app update (#2525) 2024-04-02 12:32:12 +07:00
Louis
f6d3b53ab5
Merge branch 'main' into dev
# Conflicts:
#	web/screens/Chat/ErrorMessage/index.tsx
2024-04-02 11:09:59 +07:00
GenkaOk
dd8be07120
Set name assistant (#2529) 2024-04-01 11:32:06 +07:00
Louis
228a363914
fix: image model does not work when retrieval tool is enabled (#2538) 2024-03-29 16:07:49 +07:00
NamH
fa35aa6e14
feat: dynamically register extension settings (#2494)
* feat: add extesion settings

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-03-29 15:44:46 +07:00
NamH
132487acec
fix: show default error message from inference engine (#2533)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-03-29 11:53:34 +07:00
Louis
d290ae1977
fix: text overflow 2024-03-25 23:58:36 +07:00
Louis
9551996e34
chore: load, unload model and inference synchronously 2024-03-25 12:25:30 +07:00
Louis
5edc24d8e0
fix: deleting threads manually breaks model settings and document upload (#2456)
* fix: blank model settings and rag does not work

* fix: fallback support fro previous broken threads
2024-03-22 13:56:46 +07:00
Faisal Amir
f75d7e3ca7
fix: remove decodeURI for avoid URI malformed (#2416) 2024-03-20 10:08:18 +07:00
Louis
758afdbeb4
fix: incompatible GPU error message (#2357)
* fix: incompatible GPU error message

* fix: change port
2024-03-14 22:11:55 +07:00
Louis
aab8ee84af
fix: disable rag & stream settings from tensorrt model.json (#2351) 2024-03-14 19:04:31 +07:00
Louis
7556430693
fix: should not attach error messages to the completion request (#2258) 2024-03-06 16:15:46 +07:00
Louis
5ca3069fa1
fix: image upload button and drag event are not enabled (#2248)
* fix: image upload button and drag event are not enabled

* fix: add tooltips for unsupported model
2024-03-06 09:09:38 +07:00
NamH
510491253c
fix: error message being sent along with conversation when inference (#2242)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-03-05 22:09:38 +07:00
Faisal Amir
02013639a4
fix: drag and drop support image format when model has vision_model attribute (#2237) 2024-03-05 13:39:08 +07:00
hiro
e6c10202e0
feat: Jan can see (#2069)
* feat: jan can see

feat: Add GPT-4 Vision model (Preview)

fix: Add visionModel as property in ModelInfo

fix: Fix condition to load local messages in useSetActiveThread hook

feat: Enable Image as input for chat

fix: Update model parameters in JSON files for remote GPT models

fix: Add thread as optional

fix: Add support for message as image

fix: Linter

fix: Update proxyModel to proxy_model and add textModel

chore: Change proxyModel to proxy_model

fix: Update settings with visionModel and textModel

fix: vision model passed through the retrieval tool

fix: linter

* fix: could not load image and request is not able to be sent

---------

Co-authored-by: Louis <louis@jan.ai>
2024-03-05 08:33:09 +07:00
Faisal Amir
635435fbb8
Revert feat: temporary remove dark mode (#2221)
* Revert "feat: temporary remove dark mode :(  (#2168)"

This reverts commit 222b4ad897c275dab0eaec3c8a8472bf3df7afc4.

* fix: revert darkmode and fix darkmode for import model

* fix: prettier format import model

---------

Co-authored-by: Louis <louis@jan.ai>
2024-03-04 14:46:10 +07:00
NamH
52f84dce9f
chore: clean up some redundant code (#2215)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-03-03 17:54:01 +07:00
Faisal Amir
d4df43ed68
fix: disabled user promp using dangerouslySetInnerHTML (#2176) 2024-02-27 20:40:06 +07:00
Faisal Amir
222b4ad897
feat: temporary remove dark mode :( (#2168)
* remove darkmode

* fix progress component background color
2024-02-27 20:39:57 +07:00
NamH
773963a456
feat: add import model (#2104)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-02-26 16:15:10 +07:00
Louis
98b7fd2c3b
fix: chore UI (#2125) 2024-02-22 19:38:56 +07:00
Faisal Amir
94bee0b1b6
fix: flow edit message (#2113)
* fix flow edit message

* flx flow eidt message

* remove unused import
2024-02-21 21:55:37 +07:00
Louis
cffc382caf
fix: tools section should be expanded by default (#2110) 2024-02-21 08:45:37 +07:00