Yifei Zhang
6823839f4b
fixup
2 years ago
Yifei Zhang
a68721fcf2
Update requests.ts
2 years ago
Mokou
d92108453f
fix: 兼容不同浏览器的input range兼容
2 years ago
Yifei Zhang
f71354faed
Merge pull request #509 from xiaotianxt/feat/dnd-xiaotianxt
...
Drag & Drop support for ChatList
2 years ago
Yifei Zhang
b1e26a5063
Merge pull request #510 from Yidadaa/user-prompt
...
feat: split docs, clear messages and fix stop response
2 years ago
Yidadaa
c77f946be1
fixup
2 years ago
Yidadaa
acfe6eec18
fix : #463 add subscrption total amount
2 years ago
Yidadaa
dce2546f5f
fix : #451 override default model config
2 years ago
Yidadaa
8e560d2b2e
fix : #410 can not stop response
2 years ago
xiaotianxt
f920b2001d
performance: introduce lazy-loading for ChatList
...
Reduce the first load JS bundle size using next/dynamic.
2 years ago
Yidadaa
c2b37f811b
feat: close #469 support reset session and do not send memory
2 years ago
Yidadaa
0e77177a60
fix : #439 context prompt input with textarea
2 years ago
Yifei Zhang
9aaceda40d
Merge pull request #482 from zyqq/main
...
fix(utils): 修复复制问题
2 years ago
xiaotianxt
301cbbfdfb
feat(dnd): add drag and drop feature
2 years ago
Yidadaa
7da0cc6551
doc: update screenshots
2 years ago
Yidadaa
de78fd07c5
doc: update document
2 years ago
Yifei Zhang
2ae62d9c0e
Merge pull request #497 from waltcow/main
...
fix 头像无法正常显示
2 years ago
Yorun
909e2ab60f
fix: header title overflow
2 years ago
waltcow
f4fc682fa3
add `getEmojiUrl` as util function
2 years ago
waltcow
80904ac2bb
fix import
2 years ago
waltcow
91322f33eb
emoji resouce CDN format override
2 years ago
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
2 years ago
Jun Wu
2625c1246b
chore: removed redundant checkUsage
...
`checkUsage()` was already called by another `useEffect`.
There is no need to call it twice.
2 years ago
yiqiuzheng
0af55366f1
fix(utils): 修复复制问题
2 years ago
Yifei Zhang
bd7567fa85
Merge pull request #434 from gaogao1030/optimize
...
[opt] Optimize the display of exported chat history content.
2 years ago
MaYuKe
8ba1dedcea
Update settings.tsx
...
Update parameter `step` of historyMessageCount to 1.
2 years ago
kakawanyifan
0508b0080f
linkTarget={'_blank'},这个对于对话框中的链接,会在新的tab页打开,体验更好。
2 years ago
kakawanyifan
47f055872e
访问改成授权
2 years ago
Yifei Zhang
15429cd67f
Merge pull request #435 from yorunning/fix-1
...
fix: add media query to theme-color, fix auto theme not updating theme-color
2 years ago
ガオガオ
be4144fab3
[opt] Optimize the display of exported chat history content.
2 years ago
yidadaa
4e644cfca7
fix : #418 valid model config
2 years ago
Yorun
30ff915e9d
fix: add media query to theme-color, fix auto theme not updating theme-color
2 years ago
Feifan Zheng
bb30fdfa17
feat: optimize usage display
2 years ago
RugerMc
c2a79e8a11
opt: back to auto scroll
2 years ago
cyhhao
ae8ceb8dca
rm input mouseover
2 years ago
cyhhao
8db26bbd5f
rm msg body mouseover
2 years ago
cyhhao
efd3310711
fix conflict
2 years ago
cyhhao
a6890c0f58
optimize: scrolling experience
2 years ago
Yifei Zhang
b5a69b66b2
Merge pull request #401 from cyhhao/pr2
...
fix: context message should exclude all error tips
2 years ago
cyhhao
73f4ea38c6
session message should exclude all error tips
2 years ago
Yifei Zhang
fb127f7857
Merge pull request #377 from ilario92/main
...
Update: locales in Italian
2 years ago
Yidadaa
5c75b6c784
fix : #397 #373 Array.prototype.at polyfill errors
2 years ago
Yifei Zhang
56ba8a65e0
fix: improve scroll
2 years ago
Yifei Zhang
0e784c50ad
fix : #384 improve scroll
2 years ago
Yifei Zhang
73865651a0
fix : #366 use fallback copy
2 years ago
Yifei Zhang
0d3bd42780
Update app.ts
2 years ago
Yifei Zhang
e2c1475857
revert: fix mobile scroll
2 years ago
Yifei Zhang
8d34b0f454
chore: fix mobile scroll
2 years ago
Yifei Zhang
b44caeeefb
fix : #289 #367 #353 #369 provide more error message info
2 years ago
Ilario Scandurra
502d22bd20
Merge branch 'Yidadaa:main' into main
2 years ago
Yifei Zhang
8d60a414f0
chore: fix usage display
2 years ago
Yifei Zhang
e8d71c815e
chore: fix preview bubble
2 years ago
Yifei Zhang
1afca0b28a
fix: mobile scroll problem
2 years ago
ilarioscandurra
f9f29afba9
Update: locales in Italian
2 years ago
Yifei Zhang
2647bdb4ed
fixup: ux improve
2 years ago
Ilario Scandurra
c98517fc48
Merge branch 'main' into main
2 years ago
Yifei Zhang
e8dd391ccf
Merge pull request #378 from Yidadaa/prompt-edit
...
feat: add context prompt edit
2 years ago
Yifei Zhang
e3c3cd3d18
fixup: translation context
2 years ago
Yifei Zhang
b85245e317
feat: #138 add context prompt, close #330 #321
2 years ago
ilarioscandurra
f606a61e1c
Update: locales in Italian
2 years ago
Call White
a10f4d8abc
translate SendPreviewBubble
2 years ago
Yifei Zhang
c978de2c10
fix : #253 #356 auto scroll ux
2 years ago
Yifei Zhang
6c1862797b
refactor: split homt.tsx components
2 years ago
Yifei Zhang
4f0108b0ea
fix : #289 use highlight.js instead of prism
2 years ago
Yifei Zhang
7b5af271d5
fix : #367 failed to fetch account usage
2 years ago
Yifei Zhang
37587f6f71
fix : #244 optimize polyfill
2 years ago
Cesaryuan
a356ee857c
Merge branch 'main' into patch-1
2 years ago
MapleUncle
a90e646381
🐞 fix(locales): Fix the missing SendPreviewBubble in ES configuration
2 years ago
Cesaryuan
12f342f015
fix: historyMessageCount
2 years ago
Yifei Zhang
e248e9196a
Merge pull request #271 from RugerMcCarthy/feat/send_preview_option
...
feat: add switch of send preview bubble
2 years ago
Cesaryuan
fea4f561b4
fix: fix history message count
...
Bug: The length of `new Array(20).slice(20 - 24) ` is 4 which should be 24.
2 years ago
AprilNEA
0a60a87c9f
Merge branch 'main' into reset
...
# Conflicts:
# app/components/settings.tsx
2 years ago
AprilNEA
506cdbc83c
feat: clear session only
2 years ago
Yifei Zhang
a64c4384b1
Merge pull request #322 from quark-zju/wexin-compat
...
fix: 微信 Android 内置浏览器兼容性
2 years ago
Leedom
4369b26e22
Update calcTextareaHeight.js
2 years ago
Leedom
b419e7d918
Update home.tsx
2 years ago
Leedom
ad8e09d188
Update home.tsx
2 years ago
leedom
bce020fc8e
feat: add calcTextareaHeight.js from element-ui
2 years ago
leedom
a811637176
refactor: use the method of element-ui
2 years ago
Jun Wu
cd5f8f7407
app: polyfill Array.at
...
This fixes compatibility issue with older browsers like WeChat webview.
The summary feature now works as expected.
2 years ago
linqirong
00a282214e
fix:修复中文输入法下enter错误发送消息问题
2 years ago
Jun Wu
327ac765df
utils: simplify trimTopic
...
Also avoid using Array.prototype.at, which does not seem to exist
in the Wexin builtin webview (Android Wexin 8.0.30).
2 years ago
Jun Wu
83cea2adb8
api: set Content-Type to json
...
This avoids issues in browsers like WeChat where the encoding is
incorrect and the summary feature does not work if it contains
zh-CN characters.
2 years ago
Leedom
9ba59351c5
Update home.tsx
2 years ago
leedom
2a79d35667
feat: add optimize textarea height when inputing
2 years ago
Yifei Zhang
0385f6ede9
fix : #305 disable double click to copy on pc
2 years ago
Yifei Zhang
45bf2c3d25
fix: remove scroll anchor height
2 years ago
leedom
4dc1e025e1
feat: add confirm tips when deleting conversation on pc
2 years ago
Dogtiti
536358cb3c
Merge branch 'Yidadaa:main' into main
2 years ago
Dogtiti
5f7a264e52
fix: 修复在手机浏览器高度样式问题
2 years ago
Yifei Zhang
e5aa72af76
fix : #277 no cache for credit query
2 years ago
RugerMc
1db210097c
feat: add switch of send preview bubble
2 years ago
Daniel Gerardo Rondón García
7f16698f01
Update: language options to "Language".
...
- Update Name option in language files to display 'Language' consistently
- Fix locale issues in 'tw' and 'cn' files that were mistakenly changed
2 years ago
Daniel Gerardo Rondón García
df75b9973a
Update: locales in spanish
2 years ago
Yifei Zhang
2f2e0b6762
fix: commit id as version id
2 years ago
Yifei Zhang
fe9dd88c3f
Merge pull request #254 from Yidadaa/bugfix-0330
...
Bugfix 0330
2 years ago
Yifei Zhang
b3fdf3efec
fix : #182 prompt cannot be selected
2 years ago
Yifei Zhang
802ea20ec4
fix: auto scroll on enter
2 years ago
Yifei Zhang
52a217883d
Merge pull request #234 from GOWxx/feat_set_history_to_zero
...
feat: support history message count to zero
2 years ago
Yifei Zhang
7783545bff
feat: use tag as version number
2 years ago