546 Commits

Author SHA1 Message Date
NamH
f36d740b1e
feat: add quick ask (#2197)
* feat: add quick ask

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-08 10:01:37 +07:00
NamH
5abe2e1c24
chore: temporary remove convert model (#2266)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-03-07 12:16:18 +07:00
Louis
49ad855843
feat: prompt user to download an update manually (#2261) 2024-03-07 09:36:42 +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
NamH
8ecd93661d
fix: replaced user path from app log (#2238)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-03-05 14:03:39 +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
Louis
1bdf791360
fix: import from HuggingFace with random string is causing app crash (#2214) 2024-03-03 20:39:38 +07:00
NamH
b70e7fb917
fix: comment from QA regarding import model (#2213)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-03-03 20:38:01 +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
NamH
d7070d8c4a
fix: some bugs for import model (#2181)
* fix: some bugs for import model

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

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-02-27 23:59:37 +07:00
Faisal Amir
95946ab9f2
fix: change button import model on hub page (#2178) 2024-02-27 21:25:42 +07:00
Faisal Amir
883d631452
fix space between progress bar and title list of gpu (#2177) 2024-02-27 21:25:31 +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
Faisal Amir
45efcad233
fix: style list of gpu on system monitor (#2172) 2024-02-27 16:55:01 +07:00
Faisal Amir
b1e748b958
fix: system monitor expand overlap tooltip ribbon (#2158) 2024-02-27 13:24:32 +07:00
NamH
64ea290ca3
chore: make convert gguf as experimental feature (#2156)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-02-26 18:15:49 +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
90108745e2
Merge pull request #2151 from janhq/main
Sync release 0.4.7 to dev
2024-02-26 11:15:21 +07:00
Helloyunho
e86cd7e661
feat: add a simple way to convert Hugging Face model to GGUF (#1972)
* chore: add react developer tools to electron

* feat: add small convert modal

* feat: separate modals and add hugging face extension

* feat: fully implement hugging face converter

* fix: forgot to uncomment this...

* fix: typo

* feat: try hf-to-gguf script first and then use convert.py

HF-to-GGUF has support for some unusual models
maybe using convert.py first would be better but we can change the usage order later

* fix: pre-install directory changed

* fix: sometimes exit code is undefined

* chore: download additional files for qwen

* fix: event handling changed

* chore: add one more necessary package

* feat: download gguf-py from llama.cpp

* fix: cannot interpret wildcards on GNU tar

Co-authored-by: hiento09 <136591877+hiento09@users.noreply.github.com>

---------

Co-authored-by: hiento09 <136591877+hiento09@users.noreply.github.com>
2024-02-26 10:57:53 +07:00
Faisal Amir
563f37f884
fix: system monitor ui (#2135) 2024-02-23 17:12:26 +07:00
Louis
98b7fd2c3b
fix: chore UI (#2125) 2024-02-22 19:38:56 +07:00
Faisal Amir
56be7742e7
feat: revamp system monitor (#2097)
* feat: revamp system monitor

* feat: revamp system monitor ui

* remove system monitor page

* fix e2e test navigation

* added click outside system monitor

* update height content system monitor
2024-02-22 13:51:23 +07:00
hiro
926f19bd9b
feat: Add nitro vulkan to support AMD GPU/ APU and Intel Arc GPU (#2056)
* feat: add vulkan support on windows and linux

* fix: correct vulkan settings

* fix: gpu settings and enable Vulkan support

* fix: vulkan support 1 device at a time only

* inference-nitro-extension add download vulkaninfo

---------

Co-authored-by: Louis <louis@jan.ai>
Co-authored-by: Hien To <tominhhien97@gmail.com>
2024-02-22 11:19:36 +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
Louis
7fbc6cb6c0
fix: failed to bind port - nitro error message copy (#2101)
* fix: failed to bind port - nitro error message copy

* fix: copy
2024-02-20 13:54:21 +07:00
Faisal Amir
6b88d4df4d
fix: remove caret down icon when tab selected into remote model (#2102) 2024-02-20 13:09:08 +07:00
hiento09
2cbbe1bcd3
Fix bug #2005 docker blank website (#2093)
* Web: change API_BASE_URL to build time env

* Update Dockerfile and Docker Compose by adding env API_BASE_URL

* Update make clean

* INFERENCE_URL get from baseApiUrl

* Fix error settings/settings.json not found when start server at the first time

* Update README docker

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2024-02-19 23:30:59 +07:00
NamH
5c7b791c26
fix: check if port is occupied before start local server (#2098)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-02-19 22:39:14 +07:00
Faisal Amir
cbd1d3772f
fix make text input scrollable (#2083) 2024-02-19 20:09:23 +07:00
Louis
09e210af6b
fix: failed to send message blocks thread creation (#2091) 2024-02-19 20:08:36 +07:00
Louis
780f957b9a
fix: expand assistant and model settings by default (#2081)
* fix: expand assistant and model settings by default

* fix: add proxy enabled toggle
2024-02-19 12:44:04 +07:00
Louis
96df4ad67f
fix: move jan data folder - error handling - no write permission granted (#2077) 2024-02-18 23:05:36 +07:00
NamH
20eb5eccae
fix: infinity showed when haven't get total size (#2066)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-02-18 15:14:48 +07:00
Louis
56034d682a
fix: should stop running the model when GPU settings are changed (#2067) 2024-02-18 15:09:15 +07:00
Louis
a3aceb8f60
fix: settings page state loop and dark theme (#2065)
* fix: settings page state loop and dark theme

* fix: crash on visiting settings page
2024-02-18 14:24:54 +07:00
Louis
47b890bba5
fix: message should only be interrupted when i start another thread (#2053)
* fix: message should only be interrupted when i start another thread

* fix: thread lost message streaming if navigate to another thread

* fix: state issue with useThreads
2024-02-16 17:34:23 +07:00
Louis
6590ee7a6a
fix: local server start error should not change to started state (#2052) 2024-02-16 14:58:34 +07:00
Louis
7fb61bf0fb
fix: update copy of message queue (#2051) 2024-02-16 14:42:44 +07:00
Louis
63cffca51e
chore: refactor watch system resource hook (#2048) 2024-02-16 13:22:21 +07:00
NamH
42da19a463
fix: download mutilple binaries (#2043)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-02-16 11:32:14 +07:00
NamH
b7e94aac02
fix: disable gpu drop down box if there's no GPU ready (#2046)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-02-16 10:46:42 +07:00
NamH
f5934d5a60
fix: ui for disabled state of gpu acceleration (#2034) 2024-02-15 22:38:23 +07:00
Louis
a96053ebef
fix: app should generate thread title with length restriction (#2037) 2024-02-15 22:38:13 +07:00
Van Pham
82b361a5be
feat: Initialize POM structure with fixtures on Playwright (#2015)
* feat: video recorder on failures

* feat: fixture for sample page class

* feat: video recorder on failures

* feat: fixture for sample page class

* feat: video recorder on failures

* feat: fixture for sample page class

* feat: Apply Screenshot on failures

* feat: set timeout by default

* chore: clean up import

* feat: video recorder on failures

* feat: fixture for sample page class

* feat: add wait for app update

* chore: correct timeout

* chore: correct timeout

* chore: test timeout

* chore: test timeout

* chore: test timeout

* chore: browser context config

* chore: temporally disable the video recorder to bypass issue
2024-02-15 20:18:02 +07:00