Commit Graph

28 Commits

Author SHA1 Message Date
Yidadaa
c77f946be1 fixup 2023-04-06 04:01:53 +08:00
Yidadaa
8e560d2b2e fix: #410 can not stop response 2023-04-06 03:19:33 +08:00
Yidadaa
c2b37f811b feat: close #469 support reset session and do not send memory 2023-04-06 02:37:12 +08:00
Yidadaa
0e77177a60 fix: #439 context prompt input with textarea 2023-04-06 02:05:44 +08:00
Yifei Zhang
2ae62d9c0e
Merge pull request #497 from waltcow/main
fix 头像无法正常显示
2023-04-05 22:07:17 +08:00
waltcow
f4fc682fa3
add getEmojiUrl as util function 2023-04-05 15:48:44 +08:00
Jun Wu
962f434e17 perf: memorize markdown rendering
Markdown rendering can take time. Use `React.memo` for better performance.

The improvement is especially visible if there are complex elements. For
example, a `<Chat />` with an output of `如何推导三次方程求根方程?` (which
uses latex) now renders in about 5ms, down from ~140ms.

Related: #302
2023-04-05 00:16:10 -07:00
ガオガオ
be4144fab3 [opt] Optimize the display of exported chat history content. 2023-04-04 05:55:06 +08:00
RugerMc
c2a79e8a11 opt: back to auto scroll 2023-04-03 17:51:35 +08:00
cyhhao
ae8ceb8dca rm input mouseover 2023-04-03 15:21:03 +08:00
cyhhao
8db26bbd5f rm msg body mouseover 2023-04-03 15:20:16 +08:00
cyhhao
efd3310711 fix conflict 2023-04-03 14:58:34 +08:00
cyhhao
a6890c0f58 optimize: scrolling experience 2023-04-03 14:56:13 +08:00
Yifei Zhang
b5a69b66b2
Merge pull request #401 from cyhhao/pr2
fix: context message should exclude all error tips
2023-04-03 14:26:32 +08:00
cyhhao
73f4ea38c6 session message should exclude all error tips 2023-04-03 14:13:57 +08:00
Yidadaa
5c75b6c784 fix: #397 #373 Array.prototype.at polyfill errors 2023-04-03 13:29:37 +08:00
Yifei Zhang
56ba8a65e0 fix: improve scroll 2023-04-03 03:35:24 +00:00
Yifei Zhang
0e784c50ad fix: #384 improve scroll 2023-04-03 03:27:42 +00:00
Yifei Zhang
e2c1475857 revert: fix mobile scroll 2023-04-02 19:24:29 +00:00
Yifei Zhang
8d34b0f454 chore: fix mobile scroll 2023-04-02 19:20:57 +00:00
Yifei Zhang
b44caeeefb fix: #289 #367 #353 #369 provide more error message info 2023-04-02 19:14:53 +00:00
Yifei Zhang
e8d71c815e chore: fix preview bubble 2023-04-02 18:51:37 +00:00
Yifei Zhang
1afca0b28a fix: mobile scroll problem 2023-04-02 18:41:25 +00:00
Yifei Zhang
2647bdb4ed fixup: ux improve 2023-04-02 18:28:07 +00:00
Yifei Zhang
e3c3cd3d18 fixup: translation context 2023-04-02 18:02:03 +00:00
Yifei Zhang
b85245e317 feat: #138 add context prompt, close #330 #321 2023-04-02 17:48:43 +00:00
Yifei Zhang
c978de2c10 fix: #253 #356 auto scroll ux 2023-04-02 15:19:36 +00:00
Yifei Zhang
6c1862797b refactor: split homt.tsx components 2023-04-02 15:05:54 +00:00