101 Commits (89f78bd4c7e469aa28b31f35d570924afb6fdbb3)

Author SHA1 Message Date
wanglong001 226ce2bded
[fix] markdown 表格内没有换行 (#1492) 2 years ago
ChenZhaoYu 05a241408e fix: conversationOptions 2 years ago
ChenZhaoYu 44f00c95cd fix: 调整光标到底部 2 years ago
LeafSummer 9b66fed26e
fix: requestOptions (#1188)
修复页面上重复执行onRegenerate操作,会丢失上下文的问题
2 years ago
ChenZhaoYu 4e4e41b0d6 chore: update deps 2 years ago
vchenpeng 5594b0baa9
fix: 空引用显示undefined (#1103)
Co-authored-by: peng.chen <peng.chen@freemud.com>
2 years ago
ChenZhaoYu 9bd88eac84 fix: 宽度问题 2 years ago
ChenZhaoYu 40fa028408 fix: some error 2 years ago
ChenZhaoYu 15f3aac88e perf: 调整光标位置 2 years ago
puppywang c0f4af05e3
feat: add typing effect (#1017)
* feat: add typing effect

* fix: ts2339 xxx not exist on type 'never'

---------

Co-authored-by: WangYi <wangyi@windimg.com>
2 years ago
ChenZhaoYu 76cef650b4 chore: build rollback 2 years ago
assassinliujie 78bcf7f4ce
perf: optimized output (#962)
* Update index.ts

* Update index.vue

* Update index.ts
2 years ago
ChenZhaoYu c0a9fd5208 fix: 快速按下删除会话导致的问题 #917 2 years ago
ChenZhaoYu 07123b70ad chore: rolled back to clear the impact 2 years ago
assassinliujie b579d24d19
pref: message output optimization (#935)
* Update index.ts

修改后端,让保留打字机效果的同时优化前后端之间传输的内容,节省流量和性能

* Update index.vue

修改前端,和之前修改的后端匹配,保留打字机效果同时优化性能和流量传输

* chore: lint fix

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2 years ago
吴杉(Shan Wu) 799af86739
perf: add localization for sider (#911) 2 years ago
ChenZhaoYu 9b0d7dbee8 fix: 移动端焦点不触发的问题 2 years ago
ChenZhaoYu 634c879108 perf: 自动焦点时移动端上的不便 2 years ago
ChenZhaoYu 9081b22ce9 perf: 移动端删除 chat 时,侧边栏应该收起 2 years ago
Redon 73e12b1fdd
fix: 移动端新建会话关闭侧边栏 (#813) 2 years ago
Allen 814c3a2565
feat: 切换 history 时自动聚焦输入框 (#735)
* feat: 修改 scrollToBottom 行为(当滚动条在底部或发送问题时才会进入自动滚动,滚轮向上滚动会中止自动滚动,方便复制和查看之前的代码; 切换 history 时自动聚焦输入框,方便直接输入文字,不用再次去点击输入框;)

* chore: 通过eslint检查

* perf: 清理重复功能

---------

Co-authored-by: Redon <790348264@qq.com>
2 years ago
Yi 92278932ef
chore: 显示原文时使用 .whitespace-pre-wrap (#779)
显示 ChatGPT 输出的原文时保留空格和换行
2 years ago
Liut e30217542d
fix line end with new-line in some backend (#474)
* fix line end with new-line in some backend

In backend with golang (like https://github.com/sashabaranov/go-openai), the responseText always has '\n'.

* feat: 补全遗漏

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2 years ago
舜岳 31a84325d4
perf: scrollToBottom 改成 scrollToBottomIfAtBottom (#771) 2 years ago
舜岳 b1d0056429
perf: 重置回答时滚动定位至该回答 (#781)
* chore: 重置回答时滚动定位至该回答

* perf: format code

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2 years ago
Yi 47dc009505
feat: 添加用于显示回复消息原文的选项 (#672)
* feat: 添加显示用于原文的选项

* chore: 修复暗色主题下文本颜色问题

给输入和输出气泡添加了 css 类,用来处理在暗色主题下聊天气泡的文本颜色

* feat: 用户输入不应该被渲染,防止 xss

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2 years ago
ChenZhaoYu f1584b60e8 fix: 手动重置异常的 loading 2 years ago
ChenZhaoYu d422a805f6 feat: 渲染的链接新窗口打开 2 years ago
ChenZhaoYu a8e9a24ca7 fix: highlight.js 控制台兼容性警告 2 years ago
ChenZhaoYu b3cfe7a976 perf: 记录上下文设定保存到本地 2 years ago
ChenZhaoYu db502e1412 feat: 权限输入框改为密码类型 2 years ago
Yige a4cfd0c380
fix: 修改最大行数与官方保持一致 (#502)
* chore: rename environment variables files

* docs: update README.md about .env file

* feat: support long reply

* chore: upgrade chatgpt package and set long reply to false default

* chore: set long reply to false default

* fix: change maxRows to 8

* feat: mobile max row

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2 years ago
ChenZhaoYu 6b8ba6302a chore: format 2 years ago
Nothing1024 00ade41a76
feat: 添加 Prompt 模板和 Prompt 商店支持 (#268)
* feat: 添加Prompt模板和Prompt商店支持

* feat: well done

---------

Co-authored-by: Redon <790348264@qq.com>
2 years ago
ChenZhaoYu a2fcd31f24 perf: use hooks 2 years ago
ChenZhaoYu 07b92d4ede fix: 文字过长时头像被挤压 2 years ago
ChenZhaoYu ed4ff67760 feat: 移动端按钮调整到顶部 2 years ago
Yige 076c56d1d9
feat: 支持长回复 (#450)
* chore: rename environment variables files

* docs: update README.md about .env file

* feat: support long reply

* chore: upgrade chatgpt package and set long reply to false default

* chore: set long reply to false default
2 years ago
ChenZhaoYu 222b3eaa4c feat: 移动端下按钮收缩 2 years ago
ChenZhaoYu 7021a08ecf chore: reset scrollToBottom 2 years ago
ChenZhaoYu ba41015df8 Merge branch 'feature' 2 years ago
ChenZhaoYu f084460d1c fix: 深色模式导出图片的样式问题 2 years ago
acongee 9576edf26f
feat: 优化打字机模式显示新内容的逻辑 (#394)
* 添加为打字机模式优化的滚动至底部函数

* feat: 优化打字机模式始终显示最新内容的逻辑

* feat: 内容输出结束时也根据滚动条位置判断是否滚动至底部
2 years ago
CornerSkyless 5b74ac9cc6
fix: 修复导出图片会丢失头像的问题 (#392) 2 years ago
CornerSkyless 444e2ec2e8
feat: 增加了一个可以是否要发送历史上下文的开关 (#393)
* chore: 更新文档

* Improve zh-TW locale (#379)

* fix: 移动端样式

* feat: typo

* fix: 调整滚动回原样

* feat: 支持切换是否要发送前文信息

* style: 修复 lint

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
Co-authored-by: Peter Dave Hello <hsu@peterdavehello.org>
2 years ago
壳壳中的宇宙 60b7874f65
优化docker打包镜像文件过大的问题 (#415)
* chore: 更新文档

* Improve zh-TW locale (#379)

* fix: 移动端样式

* feat: typo

* fix: 调整滚动回原样

* 优化docker打包镜像文件过大

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
Co-authored-by: Peter Dave Hello <hsu@peterdavehello.org>
2 years ago
ChenZhaoYu 07cac12dac fix: 调整滚动回原样 2 years ago
Redon ffd4da91cf
chore: version 2.10.0
* feat: 权限验证功能

* chore: v2.10.0

* feat: 500 服务异常页面

* feat: 只有结束才会滚动到底部

* chore: 修改 CHANGELOG

* chore: 不存在时输出默认报错
2 years ago
CornerSkyless a2ffa3cb3a
feat: 增加保存会话为图片的功能 (#374)
* feat: 增加保存会话为图片的功能

* feat: 异常处理和增加导出动画

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2 years ago
CornerSkyless a689406b28
feat: 判断小窗模式 ctrl+enter 发送消息 (#363) 2 years ago