132 Commits

Author SHA1 Message Date
Louis
4cdab2b98b
fix: prevent other DOM elements from rerendering when generating 2024-12-02 09:38:20 +07:00
Louis
6d7814fe24
chore: clean up 2024-11-30 16:52:38 +07:00
Louis
67721a45ee
fix: high performance convo rendering - virtualizing large convo 2024-11-30 16:34:24 +07:00
Louis
0485134343
fix: token speed should not be calculated based on state updates 2024-11-29 09:34:38 +07:00
Louis
19c6a26ef5
fix: proper error message display 2024-11-28 13:23:03 +07:00
Louis
2e35b2f20d
fix: convo component re-render every single token yield 2024-11-28 12:51:58 +07:00
Louis
3a68f29c0f
fix: app re-render issues caused by bad state handling 2024-11-27 22:48:41 +07:00
Faisal Amir
1a824f0162
chore: update latex language for rehype-highlight (#4144) 2024-11-27 20:52:29 +07:00
Louis
0033c7cf96
Revert "fix: memory leak lowlight dependencies" 2024-11-27 09:39:04 +07:00
Faisal Amir
bf9bdded9f fix: memory leak lowlight dep 2024-11-27 01:17:14 +07:00
Faisal Amir
148a1e5d32
fix: line-number and border color code block UI (#4105) 2024-11-25 21:17:30 +07:00
Faisal Amir
314cb03693
feat: stop word model setting (#4113)
* feat: stop word model setting

* chore: update test tag input

* chore: handle UI when no stop word

* chore: fix types of value tag input
2024-11-25 21:17:16 +07:00
Louis
614cf7774f
fix: 4086 - editing message should not send follow-up messages 2024-11-25 17:31:05 +07:00
Faisal Amir
9ecad0972e
fix: reorder alphabetical cloud model on starter screen (#4072)
* fix: reorder alphabetical cloud model on starter screen

* chore: update sort after group
2024-11-22 12:53:11 +07:00
Faisal Amir
0039c5234e
fix: edge cases empty codeblock (#4061) 2024-11-21 13:08:42 +07:00
Louis
8bd0f3da21
fix: inconsistent error handling 2024-11-19 23:18:52 +07:00
Faisal Amir
04dd8367a1
fix: improper line break on response message (#4042)
* fix: improper line break on response message

* chore: remove blankspace classname
2024-11-18 22:05:50 +07:00
Louis
1eb600f881
Merge pull request #4022 from janhq/feat/cortex-cpp-engine-variants
feat: support cortex.cpp engine variants
2024-11-18 16:35:13 +07:00
Louis
693796a68d
fix: remove hacky retrieval settings and engine routing 2024-11-17 14:36:52 +07:00
Louis
6f066357ed
chore: bump new engine version 0.1.39 and get rid of dangling process 2024-11-16 16:06:37 +07:00
Faisal Amir
e196aefcd3
feat: new UI code block and Enable copying of code blocks or plain text mid-stream (#4010)
* feat: improvement ui codeblock

* chore: update ui code block

* chore: finalize ui code block and latex

* chore: fix jest testing and cleanup unused deps
2024-11-14 14:46:35 +07:00
Faisal Amir
e87d25de85
fix: calculate base layout with system monitor panel (#3999) 2024-11-12 15:30:18 +07:00
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
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
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
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
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