Commit Graph

228 Commits

Author SHA1 Message Date
Yifei Zhang
b90efe8116 fix: #559 custom input ui style 2023-04-06 18:16:49 +08:00
Yifei Zhang
86fad559ae Merge pull request #535 from zhongmeizhi/main
fix: 兼容不同浏览器的input range
2023-04-06 17:47:05 +08:00
Yifei Zhang
98ec4dae5c fixup 2023-04-06 17:34:17 +08:00
Yifei Zhang
b3eb24e35d fixup 2023-04-06 17:28:09 +08:00
Yifei Zhang
052ba34ff0 Update requests.ts 2023-04-06 17:14:19 +08:00
Mokou
ff0fe37245 fix: 兼容不同浏览器的input range兼容 2023-04-06 12:39:31 +08:00
Yifei Zhang
f9c1cd6899 Merge pull request #509 from xiaotianxt/feat/dnd-xiaotianxt
Drag & Drop support for ChatList
2023-04-06 04:12:00 +08:00
Yifei Zhang
180b47f346 Merge pull request #510 from Yidadaa/user-prompt
feat: split docs, clear messages and fix stop response
2023-04-06 04:02:48 +08:00
Yidadaa
ba19f837de fixup 2023-04-06 04:01:53 +08:00
Yidadaa
d23c0b100b fix: #463 add subscrption total amount 2023-04-06 03:56:54 +08:00
Yidadaa
1362c24de4 fix: #451 override default model config 2023-04-06 03:26:42 +08:00
Yidadaa
fcdf15b417 fix: #410 can not stop response 2023-04-06 03:19:33 +08:00
xiaotianxt
187867662e performance: introduce lazy-loading for ChatList
Reduce the first load JS bundle size using next/dynamic.
2023-04-06 02:41:27 +08:00
Yidadaa
f71841a8d7 feat: close #469 support reset session and do not send memory 2023-04-06 02:37:12 +08:00
Yidadaa
aeb818060e fix: #439 context prompt input with textarea 2023-04-06 02:05:44 +08:00
Yifei Zhang
208e7a7627 Merge pull request #482 from zyqq/main
fix(utils): 修复复制问题
2023-04-06 01:48:20 +08:00
xiaotianxt
57943cbe6c feat(dnd): add drag and drop feature 2023-04-06 01:43:10 +08:00
Yidadaa
ef4c04016a doc: update screenshots 2023-04-06 01:22:29 +08:00
Yidadaa
bc8670c058 doc: update document 2023-04-06 00:41:44 +08:00
Yifei Zhang
60a6c4cf09 Merge pull request #497 from waltcow/main
fix 头像无法正常显示
2023-04-05 22:07:17 +08:00
Yorun
7b5055e4a9 fix: header title overflow 2023-04-05 11:32:45 +00:00
waltcow
0f2221104e add getEmojiUrl as util function 2023-04-05 15:48:44 +08:00
waltcow
5d09891352 fix import 2023-04-05 15:31:46 +08:00
waltcow
7b821c336b emoji resouce CDN format override 2023-04-05 15:29:25 +08:00
Jun Wu
d3ef50c28f 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
Jun Wu
9ddb8df17e chore: removed redundant checkUsage
`checkUsage()` was already called by another `useEffect`.
There is no need to call it twice.
2023-04-04 22:41:33 -07:00
yiqiuzheng
95854e9cee fix(utils): 修复复制问题 2023-04-05 02:49:44 +08:00
Yifei Zhang
91f0dfabd4 Merge pull request #434 from gaogao1030/optimize
[opt]  Optimize the display of exported chat history content.
2023-04-05 02:08:38 +08:00
MaYuKe
3d41c79946 Update settings.tsx
Update parameter `step` of historyMessageCount to 1.
2023-04-04 23:32:19 +08:00
kakawanyifan
ead6bb36c1 linkTarget={'_blank'},这个对于对话框中的链接,会在新的tab页打开,体验更好。 2023-04-04 16:33:36 +08:00
kakawanyifan
151f2d2e7a 访问改成授权 2023-04-04 13:27:50 +08:00
Yifei Zhang
fdad4159e6 Merge pull request #435 from yorunning/fix-1
fix: add media query to theme-color, fix auto theme not updating theme-color
2023-04-04 11:16:34 +08:00
ガオガオ
562d6de0e4 [opt] Optimize the display of exported chat history content. 2023-04-04 05:55:06 +08:00
yidadaa
abfa64652f fix: #418 valid model config 2023-04-04 01:05:33 +08:00
Yorun
922f44edcc fix: add media query to theme-color, fix auto theme not updating theme-color 2023-04-03 16:24:59 +00:00
Feifan Zheng
d79c10f0c5 feat: optimize usage display 2023-04-03 12:18:04 +00:00
RugerMc
db7829f37e opt: back to auto scroll 2023-04-03 17:51:35 +08:00
cyhhao
bb0fd2a261 rm input mouseover 2023-04-03 15:21:03 +08:00
cyhhao
c73cde5c85 rm msg body mouseover 2023-04-03 15:20:16 +08:00
cyhhao
3c3a55cf33 fix conflict 2023-04-03 14:58:34 +08:00
cyhhao
8ff4820318 optimize: scrolling experience 2023-04-03 14:56:13 +08:00
Yifei Zhang
0ae0d83bf0 Merge pull request #401 from cyhhao/pr2
fix: context message should exclude all error tips
2023-04-03 14:26:32 +08:00
cyhhao
17cfea7f1f session message should exclude all error tips 2023-04-03 14:13:57 +08:00
Yifei Zhang
3ef8889c1e Merge pull request #377 from ilario92/main
Update: locales in Italian
2023-04-03 13:44:40 +08:00
Yidadaa
1b6f97e0db fix: #397 #373 Array.prototype.at polyfill errors 2023-04-03 13:29:37 +08:00
Yifei Zhang
35dd139d27 fix: improve scroll 2023-04-03 03:35:24 +00:00
Yifei Zhang
851e20841a fix: #384 improve scroll 2023-04-03 03:27:42 +00:00
Yifei Zhang
c66bec9f58 fix: #366 use fallback copy 2023-04-03 03:27:42 +00:00
Yifei Zhang
063a1c8dbf Update app.ts 2023-04-03 10:50:29 +08:00
Yifei Zhang
4b9599d70f revert: fix mobile scroll 2023-04-02 19:24:29 +00:00