87 Commits

Author SHA1 Message Date
Louis
3f6fb1561b
fix: remove cuda toolkit error message and bring back incremental model import 2024-11-12 12:10:26 +07:00
Faisal Amir
244d3d10dc
fix: edge cases highlight codeblock (#3984) 2024-11-10 17:57:49 +07:00
Faisal Amir
5bac278be4
fix: update copy error message (#3977)
* fix: update copy error message

* chore: copy nits
2024-11-08 16:42:54 +07:00
Faisal Amir
ebad6c3e93
fix: correct chat input cursor behavior when content is scrollable (#3979) 2024-11-08 16:32:42 +07:00
Faisal Amir
5271c9f75c
fix: ux edit message and copy api_key (#3975) 2024-11-08 08:56:15 +07:00
Faisal Amir
8d4734cb8a
fix: handle edge cases syntax highlight (#3969) 2024-11-07 16:08:56 +07:00
Faisal Amir
77034c4749
fix: starter screen text alignment and missing model size (#3968) 2024-11-07 14:18:18 +07:00
Louis
24b7d64efc
Merge branch 'dev' into feat/path-to-cortexcpp 2024-11-06 11:56:38 +07:00
Faisal Amir
23764caedf
fix: controlling word breaks (#3952) 2024-11-05 16:14:35 +07:00
Faisal Amir
92906ea2fa
ui: system monitor should not cover input box (#3942) 2024-11-04 20:36:25 +07:00
Louis
a986c6de2d
chore: decide model name on pull and import 2024-11-04 15:37:20 +07:00
Louis
3643c8866e
fix: correct model settings on startup and strip down irrelevant model parameters 2024-11-04 15:37:18 +07:00
Louis
90c7420c34
chore: add comments and clean unused imports 2024-11-04 15:37:18 +07:00
Louis
03333cc4c2
fix: onboarding should cover cortex models - debounce reduce model reload - rename cortex binary name 2024-11-04 15:37:17 +07:00
Louis
40957f7686
fix: model reload state - reduce model unload events emit 2024-11-04 15:37:15 +07:00
Louis
03e15fb70f
feat: sync model hub and download progress from cortex.cpp 2024-11-04 15:37:14 +07:00
Louis
4080dc4b65
feat: model and cortex extensions update 2024-11-04 15:37:12 +07:00
Faisal Amir
c6481d4668
ui: remove redundant animation (#3938) 2024-11-04 14:57:22 +07:00
Faisal Amir
755b2f234b
ux: auto-focus the chat input box (#3941)
* ux: auto-focus the chat input box and search box when switching between pages and thread lists

* chore: remove autofocus hub
2024-11-04 14:57:09 +07:00
Faisal Amir
de454381ab
fix: chat input edit mode (#3928) 2024-11-01 17:57:16 +07:00
Faisal Amir
a6ca2e2bf0
fix: handle edge cases syntax highlight (#3892)
* fix: handle edge cases syntax highlight

* chore: remove unused import

* chore: remove unused code

* chore: reset type code when selection delete
2024-10-31 10:19:22 +07:00
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
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
5d628a2748
feat: save instruction for new threads as a stable feature (#3798) 2024-10-15 00:22:58 +07:00
Louis
358d8f83f9
chore: add llama3.2 and qwen models 2024-10-02 11:36:55 +07:00
Faisal Amir
87a8bc7359
fix: xml not render correctly (#3743) 2024-09-30 15:30:02 +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
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
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
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
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
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
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
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
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
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
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
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
d14ce6fb86
chore: small ui improvement (#3414)
* chore/small-ui-nits

* chore: fix typo
2024-08-20 18:59:35 +07:00
Faisal Amir
c4419632d6
chore: remove model selection in assistant tab model (#3411) 2024-08-19 22:14:42 +07:00