864 Commits

Author SHA1 Message Date
Faisal Amir
570f6b330c
fix: edge case tiny chat input box show randomly (#3887)
* fix: edge case tiny chat input box show randomly

* chore: update class parent
2024-10-28 08:32:19 +07:00
Faisal Amir
c47d049920
fix: placeholder no hardware detect (#3876) 2024-10-24 14:26:17 +07:00
Faisal Amir
037357e04c
fix: placeholder no hardware detect (#3873) 2024-10-24 09:05:44 +07:00
Faisal Amir
0c78aadf1e
fix: hidden box dropdown hardware if no list (#3872) 2024-10-23 17:52:36 +07:00
Faisal Amir
9a266db745
fix: hardware section (#3866) 2024-10-23 10:41:49 +07:00
Faisal Amir
9867634b5a
feat: support markdown on user message (#3848)
* feat: enable render markdown for user message

* wip: slate

* style: update style rich text editor

* chore: finalize richText editor

* chore: fix model dropdown selector

* chore: fix change format file syntax highlight

* chore: fix missing element during the test

* fix: adjust onPrompChange include on fake textarea
2024-10-22 15:44:34 +07:00
Faisal Amir
6b4e556a7a
fix: context-lenght-value (#3854) 2024-10-21 22:20:10 +07:00
Faisal Amir
d6891a5628
fix: api playground text overlap button and search hub model (#3833)
* fix: button api playground overlap button and search hub model

* fix: update overlap text responsive tab and conditional render GPU menu
2024-10-21 09:57:04 +07:00
Louis
eeecf26893
Merge branch 'main' into dev
# Conflicts:
#	web/containers/ModelDropdown/index.tsx
2024-10-17 10:42:20 +07:00
Faisal Amir
19a60bc973
test: added more test inside containers component (#3765)
* test: wip several component under containers

* remoce checkbox test containers

* test: added more test to containers component
2024-10-16 09:45:28 +07:00
Faisal Amir
5e8a27b010
fix: issue ellipsis text on model selector and loader model start (#3802) 2024-10-15 12:57:37 +07:00
Faisal Amir
5d628a2748
feat: save instruction for new threads as a stable feature (#3798) 2024-10-15 00:22:58 +07:00
Faisal Amir
81110da8ea
fix: overlap text model selector and loading (#3757) 2024-10-03 20:19:07 +07:00
Faisal Amir
27c6ac6c8d
fix: overlap text model selector and loading (#3756) 2024-10-02 15:08:59 +07:00
Louis
0bc2f82ec0
Merge pull request #3751 from janhq/chore/add-new-models
chore: add llama3.2 and qwen2.5 models
2024-10-02 15:06:04 +07:00
Louis
358d8f83f9
chore: add llama3.2 and qwen models 2024-10-02 11:36:55 +07:00
Louis
da5865f3b4
test: add test cases 2024-10-01 15:06:51 +07:00
Louis
6fdfe760e8
chore: add tests 2024-10-01 13:36:13 +07:00
Louis
080bef214b
fix: hide system monitoring bar should stop spawning subprocess 2024-10-01 13:09:17 +07:00
Louis
87e1754e3a
chore: improve models and threads caching (#3744)
* chore: managing and maintaining models and threads in the cache

* test: add tests for hooks
2024-10-01 10:15:30 +07:00
Faisal Amir
87a8bc7359
fix: xml not render correctly (#3743) 2024-09-30 15:30:02 +07:00
Louis
7c63914e64
fix: model dropdown should show recommended models to download (#3742) 2024-09-30 14:34:27 +07:00
Louis
ba1ddacde3
fix: correct model dropdown for local models (#3736)
* fix: correct model dropdown for local models

* fix: clean unused import

* test: add Model.atom and model.Engine tests
2024-09-30 11:58:55 +07:00
Louis
8334076047
fix: #3491 - Unable to use tensorrt-llm (#3741)
* fix: #3491 - Unable to use tensorrt-llm

* fix: abortModelDownload input type
2024-09-30 11:58:46 +07:00
Faisal Amir
886b1cbc54
enhance: tabs component in model selection (#3730)
* ui: tabs-model-selection

* chore: updat tabs variant

* test: update test and render correct tab
2024-09-24 20:14:43 +07:00
Louis
36c1306390
fix: #3515 - The default assistant instructions are ignored (#3721) 2024-09-24 10:40:45 +07:00
Faisal Amir
15f42fb269
fix: toolbar overlap chat input (#3720) 2024-09-23 14:42:52 +07:00
Louis
aee8624338
fix: #3693 broken thread.json should not break the entire threads (#3709)
* fix: #3693 broken thread.json should not break the entire threads

* test: add tests
2024-09-23 14:20:01 +07:00
Louis
c5e0c93ab4
test: add missing tests (#3716) 2024-09-23 13:54:52 +07:00
Faisal Amir
3091bb0e5e
fix: remove title local API server page (#3710) 2024-09-23 12:46:38 +07:00
Faisal Amir
9471481e33
fix: thread title for remote model from first prompt (#3712)
* fix: generate title using first prompt for remote model

* fix: disable react-hooks/exhaustive-deps
2024-09-20 18:15:06 +07:00
Louis
302b73ae73
test: add web helpers, services, utils tests (#3669)
* test: add web helpers tests

* fix: coverage report

* test: add more tests

* test: add more generated tests

* chore: add more tests

* test: add more tests
2024-09-20 14:24:51 +07:00
Faisal Amir
1aefb8f7ab
fix: enhance several minor UI (#3706) 2024-09-20 10:06:37 +07:00
Faisal Amir
194093d95d
fix: update the condition for generating the title (#3702) 2024-09-20 10:06:20 +07:00
Nicole Zhu
17be901d1a
Merge pull request #3694 from janhq/copyfix
chore: Copyfix
2024-09-19 11:32:47 +08:00
Faisal Amir
ba3c07eba8
feat: textarea auto resize (#3695)
* feat: improve textarea user experience with autoresize

* chore: remove log

* chore: update test

* chore: update test and cleanup logic useEffect
2024-09-19 10:10:30 +07:00
Faisal Amir
8fe376340a chore: fix linter issue CI 2024-09-19 10:06:27 +07:00
0xSage
cfe657faf5 fix: linter 2024-09-18 17:46:53 +08:00
0xSage
062af9bcda nits 2024-09-18 17:42:35 +08:00
Nicole Zhu
338232b173
Merge branch 'dev' into copyfix 2024-09-18 17:03:11 +08:00
0xSage
3949515c8a chore: copy nits 2024-09-18 17:02:41 +08:00
Faisal Amir
c62b6e9842
fix: small leftover issues with new starter screen (#3661)
* fix: fix duplicate render progress component

* fix: minor ui issue

* chore: add manual recommend model

* chore: make button create thread invisible

* chore: fix conflict

* chore: remove selector create thread icon

* test: added unit test thread screen
2024-09-17 22:13:18 +07:00
Louis
031b3517dc
Fix: #1142 setting groups toggle does not turn off it's nested settings (#3681)
* fix: #1142 - Toggle off experimental toggle does not turn off gated features

* test: add tests
2024-09-17 18:17:23 +07:00
Louis
8e603bd5db
fix: #3476 - Mismatch id between model json and path (#3645)
* fix: mismatch between model json and path

* chore: revert preserve model settings

* test: add tests
2024-09-17 16:43:47 +07:00
Louis
c3cb192486
fix: #3667 - The recommended label should be hidden (#3687) 2024-09-17 16:09:38 +07:00
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