80 Commits (d2a22a3ee5d59affa7f3ca0a85491b4f6e87fc44)

Author SHA1 Message Date
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
ChenZhaoYu cd91cb1afd feat: 调整代码 2 years ago
ChandlerVer5 e6db6a58f0 fix: 🐛 修复黑夜模式下的kaTex展示问题 2 years ago
ChandlerVer5 ab08df9823 refactor: 💡 使用 markdown-it-highlightjs 进行高亮 2 years ago
ChandlerVer5 8619ac4667 refactor: 💡 使用 markdown-it 替换 marked,获得更好的体验
 Closes: #290 #283
2 years ago
Sepcnt 002a57704f
Update List.vue 2 years ago
ChenZhaoYu dee84e9307 fix: iOS安全距离和输入溢出[#266] 2 years ago
Redon 0fdf75eba0
chore: version 2.9.2 (#261)
* feat: 添加  OPENAI_API_BASE_URL 可选参数[#249]

* fix: 生成的代码块不能复制的问题[#251][#260]

* perf: 限制高分屏上的宽度[#257]

* perf: 文字按单词换行[#215][#225]

* perf: highlight.js 新语法警告

* fix: 移动端输入框不会被键盘弹起[#256]

* chore: 更新文档

* chore: version 2.9.2
2 years ago
Yule Hou 2293969070
feat: add latex rendering (#247)
* feat: add latex rendering

* perf: 提升 css 引入路径

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2 years ago
Redon f19998d59b
feat: version 2.9.1 (#207)
* feat: i18n

* chore: format

* feat: 补充遗漏翻译

* chore: update deps

* feat: 复制代码块[#196][#197]

* chore: version 2.9.1
2 years ago
api man f234aebaec
feat: 应用自定义头像 (#200)
* feat: 应用自定义头像

* feat: 头像添加缺省判断

---------

Co-authored-by: wangqy <wangqy@inketang.com>
2 years ago
Redon 32ebbec8ad
feat: 增加带格式的复制 (#182)
* feat: 增加带格式的复制

* feat: 移除前端超时设定

* chore: update deps

* feat: 添加权限页面

* feat: 设定页面优化

* feat: 更新 chatgpt 以支持 `gpt-3.5-turbo-0301`

* chore: version 2.9.0
2 years ago
Redon 42e320fe35
chore: version 2.8.3 (#175)
* feat: 保留已存在的内容直到手动操作

* feat: 支持复制文本

* chore: version 2.8.3
2 years ago
Redon 94e23bb916
chore: version 2.8.2 (#159)
* fix: 修复普通文本代码渲染和深色模式下的问题[#139][#154]

* chore: version 2.8.2
2 years ago
Redon 21fb4f817c
fix: HTML 渲染异常 (#152)
* fix: 修复 `API` 版本 HTML 会被渲染的问题[#146]

* chore: version 2.8.1
2 years ago
ChenZhaoYu 4769c31d09 fix: white space 2 years ago
Redon 89712aada7
chore: version 2.8.0 (#140)
* fix: 用户输入换行符号被忽略的问题[#137]

* feat: 输入框添加换行提示,移动端`Enter` 判定换行而不是提交[#135]

* feat: 调整标签

* chore: version 2.8.0
2 years ago
ChenZhaoYu 3e9db49aad fix: code white-space 2 years ago
Redon 90f6989445
feat: 移动端功能优化 (#132)
* feat: 移动端双击返回顶部

* feat: 深色模式下的底色

* feat: 移动端标题返回顶部和返回底部
2 years ago
Redon 1406292405
fix: 修复部份 `bug` (#131)
* fix: 主题模式图标不一致的问题[#125]

* fix: 修复样式问题[#123][#126]

* perf: 优化代码和添加类型
2 years ago
puppywang 628187f5c3
feat: add proxy support and fix streaming mode (#122) 2 years ago
Redon cc91e95eed
chore: version 2.7.3 (#120)
* fix: 用户输入也被渲染的问题 (#117)

* fix: 用户输入不转换

* feat: 基础深色模式适配

* feat: 主题模式跟随系统

* feat: 深色适配补漏

* chore: version 2.7.3
2 years ago