124 Commits

Author SHA1 Message Date
Louis
da09f50253
fix: react-markdown crash on code highlighting - threads switching do not take effect sometime 2024-12-04 16:45:00 +07:00
Louis
bfd66c421c
fix: error message should not be capitalized 2024-12-03 13:53:26 +07:00
Louis
a058710fed
fix: 4178 - current generated message options should be visible 2024-12-03 13:25:54 +07:00
Louis
e0216233e0
fix: css scrollbar overlay other components 2024-12-03 09:35:35 +07:00
Louis
7f66b6bc9d
chore: correct scrollview thumb style 2024-12-02 18:17:56 +07:00
Louis
541a37b8f1
fix: 4171 - Model loading gets stuck on stop 2024-12-02 14:04:13 +07:00
Louis
fc75fb64d2
chore: refactor message container and types 2024-12-02 10:35:51 +07:00
Louis
e800349ed5
chore: clean console log 2024-12-02 09:57:29 +07:00
Louis
19feb9e506
chore: clean imports 2024-12-02 09:54:20 +07:00
Louis
0c8297d5c6
chore: refactor message components 2024-12-02 09:48:48 +07:00
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
Faisal Amir
9a3a8d1464 fix: remove filter on recommend model 2024-11-28 21:46:30 +07:00
Louis
cd5e1ff4ed
Merge pull request #4150 from janhq/fix/performance-issue-on-chat-generation
fix: convo component re-render every single token yield
2024-11-28 14:16:33 +07:00
Faisal Amir
7bd59f0c84
fix: default local model from starter screen (#4151)
* fix: default local model starter screen

* chore: update logic recommend model

* chore: cleanup import
2024-11-28 13:49:20 +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
Louis
bff0a3aad4
Merge pull request #4134 from janhq/fix/memory-leak-performance
fix: memory leak lowlight dependencies
2024-11-27 09:02:53 +07:00
Faisal Amir
cacc9bc165 fix: default local model from starter screen 2024-11-27 01:41:37 +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
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