819 Commits

Author SHA1 Message Date
Louis
98bef7b7cf
test: add model parameter validation rules and persistence tests (#3618)
* test: add model parameter validation rules and persistence tests

* chore: fix CI cov step

* fix: invalid model settings should fallback to origin value

* test: support fallback integer settings
2024-09-17 08:34:58 +07:00
Faisal Amir
3ffaa1ef7f
chore: temporary disabled starter screen (#3663)
* chore: temporary disabeld starter screen

* chore: create useStarter screen

* chore: fix typo

* chore: update config starter screen

* chore: update comment code

* chore: renmove some commented code
2024-09-16 11:17:36 +07:00
Faisal Amir
0cce4a0c83
fix: issue responsive and missing size on starter screen (#3644)
* fix: issue responisve and missing size on starter screen

* chore: fix click outside

* chore: mock function useclickoutside element

* chore: update web jest config directory

* chore: remove dir setup jest web

* chore: remove baseUrl tsconfig web

* chore: change how we shod featured model

* chore: remove min size
2024-09-13 23:51:47 +07:00
Louis
592b3e69a5
chore: deprecate preserve thread settings (#3654) 2024-09-13 15:05:50 +07:00
Faisal Amir
2599f31115
fix: prevent value empty string on slider right panel (#3635)
* fix: prevent value empty string on slider right panel

* chore: add build joi into test electron linter
2024-09-12 09:45:46 +07:00
Louis
2d05134cb1
test: add tests to model settings's Slider Input (#3615)
* test: add tests to model settings's Slider Input

* test: add slider test

* test: fix expectation

* test: correct slider test
2024-09-10 16:36:29 +07:00
Faisal Amir
fe9936cf5b
fix: missing type number for slider input right panel (#3609) 2024-09-09 16:46:36 +07:00
Faisal Amir
ecf83d03c5
chore: update copy when retrieval turn off (#3585) 2024-09-09 09:39:46 +07:00
Louis
3ddb32e2c7
test: fix import from components (#3581) 2024-09-06 15:36:50 +07:00
Louis
846efb3126
test: add core modules test cases (#3498)
* chore: add core module test cases

* chore: fix tests

* chore: add code coverage report

* chore: split coverage step

* chore: split coverage step

* Update jan-electron-linter-and-test.yml

* Update jan-electron-linter-and-test.yml

* Update jan-electron-linter-and-test.yml

* chore: update tests

* chore: add web utils test cases

* chore: add restful and helper tests

* chore: add tests
2024-09-06 11:14:28 +07:00
Faisal Amir
f759fae55f
feat: enable model dropdown search by configured model (#3466) 2024-09-05 14:10:41 +07:00
Faisal Amir
edf5c77dd6
chore: copy edit for model setting (#3553)
* chore: copy edit for model setting

* chore: make a const for copy accordion
2024-09-05 09:54:52 +07:00
Faisal Amir
fb01216ae2
fix: disabled UI RAG and tools (#3514)
* fix: UI RAG & tools do not support for remote models

* chore: update dependencies hooks
2024-09-05 09:54:03 +07:00
Faisal Amir
e9b657ae4e
feat: add setting options to dropdown menu (#3554)
* feat: add setting options to dropdown menu

* chore: update comment
2024-09-05 09:49:47 +07:00
Faisal Amir
28c6ba10f1
fix: using type text instead number for avoid region issue (#3538) 2024-09-04 22:58:01 +07:00
Faisal Amir
7d6fd658f4
feat: starter screen (#3494)
* feat: starter screen

* chore: fix unused import

* chore: update see all color
2024-09-03 09:53:29 +07:00
Van Pham
0f84a57545
Merge pull request #3493 from janhq/main
chore: Sync main to dev 0.5.3
2024-08-29 18:52:49 +07:00
Louis
c10695be7c
fix: utilized memory 2024-08-29 12:55:07 +07:00
Faisal Amir
49166d0209
feat: track last state left and right panel (#3477) 2024-08-28 20:20:12 +07:00
Faisal Amir
e41f816fc8 chore: fix system monitor gpu list 2024-08-28 17:24:57 +07:00
Faisal Amir
31ae14c1f1 chore: fix responsive and add tensorrt_llm nitro to model utils 2024-08-28 17:05:51 +07:00
Faisal Amir
46aa9d3a29 fix: responsive modal import model gguf 2024-08-28 14:17:14 +07:00
Van Pham
2fd0f20638
Merge pull request #3482 from janhq/fix/missing-engine-chat-completion-api
fix: add engine in payload for nitro chat completion api
2024-08-28 12:56:30 +07:00
marknguyen1302
20f0e4301e fix: add engine in payload for nitro chat completion api 2024-08-28 11:34:35 +07:00
Faisal Amir
bc4bbd32ab
fix: wrong classname icon (#3474)
* fix: fix wrong classname icon

* fix: button flashing on chat input
2024-08-27 18:26:36 +07:00
Faisal Amir
17653460b5
fix: modal responsive import model (#3467) 2024-08-27 14:58:56 +07:00
Faisal Amir
e4115f307b
fix: resize left and panel when scroll area show (#3470) 2024-08-27 14:37:41 +07:00
Louis
f6e8583729
chore: move remote models to bottom of the models hub (#3469) 2024-08-27 14:36:06 +07:00
Faisal Amir
000110359e
fix: search input clearable component (#3465) 2024-08-27 13:08:28 +07:00
Mark Nguyen
52aa87a7ac
fix: import model by folder on win (#3463)
* fix: import model by folder on win

* expose getGgufFiles method

* fix the missing api

* clean log

* clean log
2024-08-27 10:35:10 +07:00
Louis
fe7138048f
fix: toggles alignment 2024-08-26 14:51:43 +07:00
Louis
674a6300f0
fix: eslint 2024-08-26 13:56:20 +07:00
Louis
81fa0b80e8
fix: correct time-weighted retrieval toggle 2024-08-26 13:47:39 +07:00
Faisal Amir
6d33ff60f9
fix: responsive modal import model (#3449) 2024-08-26 11:54:31 +07:00
Louis
925cd04d20
chore: change jan default data folder path to app's userData (#3443)
* chore: change jan default data folder path to app's userData

* fix: legacy factory reset does not work properly

* chore: update jan data folder path on UI accordingly

* chore: change jan data folder to Jan/data
2024-08-23 19:21:24 +07:00
Louis
cf07465cad
fix: enable extensions migration (#3442) 2024-08-22 19:11:38 +07:00
Louis
7c9d49ba60
fix: preserve model settings should maintain all settings (#3435)
* fix: preserve model settings should maintain all settings

* fix: a legacy bug that allow sending empty stop string

* fix: blank default settings

* fix: incorrect persisting model update
2024-08-22 15:19:44 +07:00
Faisal Amir
a337b2e247
fix: shortcut key on windows (#3437) 2024-08-22 15:19:17 +07:00
Faisal Amir
486c09ac9b
fix: date format for chat item (#3436) 2024-08-22 12:49:35 +07:00
Louis
ed584b898a
chore: fix linter issues (#3434) 2024-08-22 11:18:51 +07:00
Faisal Amir
bb3bbd25d2
fix: setting chatbox input (#3429)
* fix: setting chatbox input

* fix: linter issue
2024-08-22 11:18:37 +07:00
Faisal Amir
5c2f0d33fd
fix: missing font katex (#3431)
* chore: wio fix missing font katex

* chore: add postcss-url

* fix: font katex

* chore: revert packajson electron

* chore: make font as base64
2024-08-22 11:18:08 +07:00
Faisal Amir
35f68511fb
fix: decreased scrollbar width to avoid overlap small width component (#3432) 2024-08-22 11:17:51 +07:00
Faisal Amir
77fd1728b9
fix: add toaster warning when blocked create new thread (#3433) 2024-08-22 11:17:35 +07:00
Louis
ad9a4a0b4d
feat: preserve model settings (#3427)
* feat: preserve model settings

* feat: preserve model settings across new threads

* chore: lint fix

* fix: feature toggle off should also affect default value retrieve
2024-08-21 21:28:29 +07:00
Faisal Amir
dc8acc0d49
feat: shortcut delete and clean thread (#3423) 2024-08-21 14:16:12 +07:00
Faisal Amir
73ec5de001
fix: save state toggle input box setting (#3402)
* fix: save input box setting

* fix: active icon state when model tab is active, and increased textarea instruction

* chore: update button modal inference
2024-08-20 19:00:00 +07:00
Faisal Amir
e9c30450b9
feat: add blank state component (#3413) 2024-08-20 18:59:47 +07:00
Faisal Amir
d14ce6fb86
chore: small ui improvement (#3414)
* chore/small-ui-nits

* chore: fix typo
2024-08-20 18:59:35 +07:00
Faisal Amir
1f5d504b3f
fix: avoid show remote model on system monitor (#3412)
* fix: avoid show remote model on system monitor

* fix: update copies and remove padding
2024-08-20 16:12:37 +07:00