264 Commits

Author SHA1 Message Date
Louis
3412a23654
chore: prettier fix (#2019) 2024-02-15 08:38:05 +07:00
Faisal Amir
6f520b4534
feat: imporve UI/UX gpu acceleration feature (#1990) 2024-02-13 15:36:42 +07:00
Louis
9e69946b73
fix: app stuck generating assistant response (#2001) 2024-02-12 13:38:08 +07:00
Faisal Amir
7ae6e35746
feat: add edit messages users (#1974)
* feat: add edit message user

* fix: delete messages should delete the rest below

---------

Co-authored-by: Louis <louis@jan.ai>
2024-02-12 13:00:24 +07:00
Faisal Amir
5ec4b8e532
feat: revamp ui dropdown list model option (#1977)
* feat: add modal troubleshooting guideline

* resolve inconsistent message hidden

* feat: revamp ui dropdown list model option

* display model id and copy button

* add function copy id model from dropdownlist

* add info concurrently send requests to one active local model
2024-02-10 00:51:16 +07:00
Louis
eb09399fbf
chore: reduce bundle size (#1970)
* chore: reduce bundle size

* chore: trimming langchainjs

* chore: trim pdf-parse
2024-02-09 19:23:56 +07:00
Faisal Amir
bb11bc2933
feat: add modal troubleshooting guideline (#1968)
* feat: add modal troubleshooting guideline

* show app, server log and device specs from user agent

* add function copy app, server log and device specs

* add todo device specs

* update style darkmode for modal troubleshoot

* resolve inconsistent message hidden

* fix: model failed to load but the server started successfully (#1971)

* fix: start server success but modal load failed

* add information model failed load while start server successfully
2024-02-09 18:10:43 +07:00
Faisal Amir
9e7348e623
fix: RAG enhancements (#1965)
* fix: rag enhancements

* fix: remove auto generate prompt when user attach file

* fix: remove auto generate promp attach file via dropzone

* finalize RAG enhancements

* customize title of action sidebar panel

* remove useless import

* fix miss align retrieval toggle with switch check
2024-02-08 14:38:54 +07:00
Louis
5890ade451
chore: server download progress + S3 (#1925)
* fix: reduce the number of api call

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

* fix: download progress

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

* chore: save blob

* fix: server boot up

* fix: download state not updating

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

* fix: copy assets

* Add Dockerfile CPU for Jan Server and Jan Web

* Add Dockerfile GPU for Jan Server and Jan Web

* feat: S3 adapter

* Update check find count from ./pre-install and correct copy:asserts command

* server add bundleDependencies @janhq/core

* server add bundleDependencies @janhq/core

* fix: update success/failed download state (#1945)

* fix: update success/failed download state

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

* fix: download model progress and state handling for both Desktop and Web

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>

* chore: refactor

* fix: load models empty first time open

* Add Docker compose

* fix: assistants onUpdate

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Hien To <tominhhien97@gmail.com>
Co-authored-by: NamH <NamNh0122@gmail.com>
2024-02-07 17:54:35 +07:00
Faisal Amir
a8cd9724ef
fix: markdown render for chat completion role user (#1944) 2024-02-06 22:46:48 +07:00
hiento09
4471b2c941
feat: User Selectable GPUs and GPU-based Model Recommendations (#1730) 2024-02-06 17:31:46 +07:00
Faisal Amir
29a7fb8c93
fix: avoid users to create so many threads at the same time (#1930)
* fix: avoid allow users to create so many threads at the same time

* fix missing last message

* remove console

* update last message metadata thread

* update conditional statement
2024-02-06 16:00:29 +07:00
Faisal Amir
7be34b6e62
Merge pull request #1923 from janhq/fix/collapse-panel-hub-items
fix: download model will close panel item hub
2024-02-05 20:38:57 +07:00
NamH
01fec49798
fix: reduce the number of api call (#1896)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-02-05 13:13:39 +07:00
Faisal Amir
0b7e634855 fix: download model will close panel item hub 2024-02-05 12:09:46 +07:00
Louis
eaa3053d40
fix: openAIEmbedding now requires top level API Key configuration (#1902)
* fix: openAIEmbedding now requires top level API Key configuration

* chore: typo
2024-02-02 13:28:21 +07:00
Louis
bef8dcd6d5
fix: load model fail overlays thread message error (#1901) 2024-02-02 10:26:31 +07:00
Louis
9e4658f5b2
fix: show generate response on message send (#1895)
* fix: show generate response on message send

* chore: typo
2024-02-01 23:59:45 +07:00
Louis
5ce2e422f8
fix: display error message on model load fail (#1894) 2024-02-01 23:28:15 +07:00
Hieu
36cd5988d4
feat: integrate umami (#1809)
* feat: integrate umami

* fix: linter issue

* fix: run eslint

* fix window umami null

* fix property type error

* fix: check configuration before requesting analytics script

* fix: test cases

---------

Co-authored-by: Louis <louis@jan.ai>
2024-02-01 21:00:16 +07:00
Louis
5ddc6ea4c8
fix: the selected model auto revert back to previous used model with setting mismatch (#1883)
* fix: the selected model auto revert back to previous used model with setting mismatch

* fix: view in finder and view file action
2024-02-01 12:31:26 +07:00
NamH
4116aaa98a
feat: add start/stop model via http api (#1862)
Signed-off-by: nam <namnh0122@gmail.com>
2024-02-01 11:25:34 +07:00
Louis
ad842dbc70 chore: mark RAG as experimental feature 2024-02-01 00:52:13 +07:00
Faisal Amir
71fcaa30f9
Merge pull request #1874 from janhq/feat/snackbar-component 2024-01-31 21:00:38 +07:00
Faisal Amir
8150f2f7b7 fix: add dialog confirm when move folder and next dest isn't empty 2024-01-31 18:23:16 +07:00
Faisal Amir
509f6cba39
feat: move open app directory into icon folder (#1879) 2024-01-31 17:32:37 +07:00
NamH
8151ef0313
feat: add factory reset feature (#1750)
* feat(FactoryReset): add factory reset feature

Signed-off-by: nam <namnh0122@gmail.com>
Signed-off-by: James <james@jan.ai>
Co-authored-by: Faisal Amir <urmauur@gmail.com>
Co-authored-by: James <james@jan.ai>
2024-01-31 13:23:48 +07:00
Faisal Amir
50fb0bc907 feat: add snackbar component and update style side banner 2024-01-31 12:40:28 +07:00
hiento09
cfadd130e9
Increase timeout for explore.e2e.spec test (#1844)
* Increase timeout for explore.e2e.spec test

* fix: test cases and timeout

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
Co-authored-by: Louis <louis@jan.ai>
2024-01-31 11:26:30 +07:00
Faisal Amir
0693f551eb
Merge pull request #1866 from janhq/fix/retrieval-setting
fix: auto collapse retrieval setting while update config
2024-01-31 10:33:06 +07:00
James
282dd58d05 fix: not allow user to choose sub directory as jan data folder
Signed-off-by: James <james@jan.ai>
2024-01-30 23:03:20 +07:00
Faisal Amir
96aded6b03 fix: showing catch error on modal when change folder 2024-01-30 17:04:56 +07:00
Faisal Amir
00c4397be6 fix: loader error change folder 2024-01-30 16:43:58 +07:00
Faisal Amir
5e13fd2f53 fix: loader error change folder 2024-01-30 16:36:58 +07:00
Faisal Amir
a2b6055911 fix: auto collapse retrieval setting while update config 2024-01-30 11:20:52 +07:00
Faisal Amir
b4602ef262
Merge pull request #1856 from janhq/fix/retrieval-always-ask-for-api-key
fix: retrieval always ask for api key
2024-01-30 11:10:52 +07:00
Louis
12ebf272d6
fix: retrieval always ask for api key 2024-01-29 22:44:13 +07:00
NamH
1689702dcd
fix: all input text box are disabled (#1855)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-01-29 18:53:49 +07:00
Faisal Amir
4237c46fce
Merge pull request #1850 from janhq/fix/jan-data-folder
fix: add loader when user change folder
2024-01-29 17:51:47 +07:00
Faisal Amir
a4772202af fix: add loader when user change folder 2024-01-29 17:00:23 +07:00
Louis
f19db6c2eb
chore: The Data Folder is no longer an experimental feature (#1847) 2024-01-29 15:28:31 +07:00
Faisal Amir
f338968232
Merge pull request #1820 from janhq/feat/improve-thread-left-panel
feat: put timestamp under thread name in left panel
2024-01-29 14:33:00 +07:00
NamH
bb47d6869d
perf: remove unnecessary rerender when user typing input (#1818)
Co-authored-by: Faisal Amir <urmauur@gmail.com>
2024-01-29 13:53:18 +07:00
Faisal Amir
edaf6bb5f7
Merge pull request #1831 from janhq/fix/dropdown-api-server
fix: highlight menu dropdown server options
2024-01-29 13:46:07 +07:00
Louis
97a497858d
Merge pull request #1830 from janhq/main
Sync Release 0.4.5 to dev
2024-01-29 12:45:35 +07:00
Faisal Amir
50c499601e fix: highlight menu dropdown server options 2024-01-29 11:57:56 +07:00
copyhold
982b0dcd4e Revert 2024-01-28 11:59:33 +02:00
copyhold
89e3f2886e Rebase 2024-01-28 11:58:02 +02:00
Faisal Amir
5fe68c16fd feat: put timestamp under thread name in left panel 2024-01-28 12:55:44 +07:00
NamH
642d7aacc9
fix: user can't view model setting in local api server (#1807)
* fix: cannot change jan data folder

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

* fix: user can't view model 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-01-27 12:56:45 +07:00