Commit Graph

386 Commits

Author SHA1 Message Date
ChenZhaoYu bf48eae9fe feat: 更新依赖并兼容已存在的代理 2023-03-22 18:23:31 +08:00
舜岳 31a84325d4
perf: scrollToBottom 改成 scrollToBottomIfAtBottom (#771) 2023-03-22 18:00:53 +08:00
舜岳 b1d0056429
perf: 重置回答时滚动定位至该回答 (#781)
* chore: 重置回答时滚动定位至该回答

* perf: format code

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2023-03-22 17:54:29 +08:00
quzard 6ecc61ac5d
feat: 添加角色设定预留API 设定页(#768)
* add systemMessage

* perf: 优化代码和类型

* perf: 补全翻译和为以后做准备

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2023-03-22 17:47:07 +08:00
xiaozhu e02ab1fbad
feat: 新增限流功能 (#718)
* 请求速率限制

* perf: 优化代码

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2023-03-21 09:20:27 +08:00
Yi 47dc009505
feat: 添加用于显示回复消息原文的选项 (#672)
* feat: 添加显示用于原文的选项

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

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

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

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2023-03-21 08:44:40 +08:00
ChenZhaoYu f1584b60e8 fix: 手动重置异常的 loading 2023-03-19 18:12:49 +08:00
ChenZhaoYu d1c15f58c4 perf: config 接口添加权限验证 2023-03-19 12:31:14 +08:00
ChenZhaoYu d422a805f6 feat: 渲染的链接新窗口打开 2023-03-17 16:06:55 +08:00
ChenZhaoYu 08b5772420 feat: 查询余额使用 API_BASE_URL 参数 2023-03-17 13:19:03 +08:00
ChenZhaoYu 8fad91ade7 chore: v2.10.7 2023-03-17 11:43:42 +08:00
ChenZhaoYu 560378fd45 fix: 添加 usingContext 缺省 2023-03-17 11:40:05 +08:00
ChenZhaoYu 95ce026813 fix: 回退 chatgpt 版本导致的代理失效 2023-03-17 11:37:33 +08:00
ChenZhaoYu 71c5a88c01 chore: v2.10.6 2023-03-17 10:01:35 +08:00
ChenZhaoYu a8e9a24ca7 fix: highlight.js 控制台兼容性警告 2023-03-17 09:49:43 +08:00
ChenZhaoYu 95724845cf feat: session 返回接口方式做显示判断 2023-03-17 09:36:12 +08:00
ChenZhaoYu c5552893d7 chore: update deps and lint fix 2023-03-17 09:25:16 +08:00
pzcn e46d3685a0
feat: show api balance (#582)
* feat: show api balance

* Update index.ts

* 保留小数点后五位

* perf: 判断优化

---------

Co-authored-by: Redon <790348264@qq.com>
2023-03-17 09:21:25 +08:00
ChenZhaoYu 116ed7b0bf docs: 移除 docker-compose.yml 省略 2023-03-17 08:59:49 +08:00
ChenZhaoYu 2ad7567548 perf: 优化部份判断 2023-03-17 08:57:27 +08:00
ChenZhaoYu b3cfe7a976 perf: 记录上下文设定保存到本地 2023-03-17 08:40:45 +08:00
Kirk Lin 0b13846861
chore: extract proxy setup code into reusable function (#583) 2023-03-17 08:26:16 +08:00
CornerSkyless 951e9d8d39
perf: 优化移动端 prompt 商店样式 (#608)
* feat: 修改移动端 prompt 商店样式

* add: 修改移动端 prompt 商店样式

* perf: 清理代码

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2023-03-17 08:14:31 +08:00
碎花爱洋裙 1411c45811
fix: typo (#636) 2023-03-17 08:04:11 +08:00
Hayden Chen c797ff5cb3
fix: 🐛 fix scroll bar style (#617) 2023-03-16 11:51:07 +08:00
Wisdom 25692f8371
fix: inverted parameter for before each function (#585) 2023-03-15 08:46:11 +08:00
ChenZhaoYu 3a1466bace fix: 修复导入、导出错误 2023-03-14 08:28:43 +08:00
ChenZhaoYu cf788b190a chore: v2.10.5 2023-03-13 10:00:56 +08:00
Eason 6cd16826fd
chore: optimize dockerfile to speed up building and reduce docker image size (#520) 2023-03-13 09:03:17 +08:00
ChenZhaoYu b288cd612e chore: docs change 2023-03-13 08:58:30 +08:00
ChenZhaoYu efc9e81e83 fix: 清空上下文时不应该重置会话标题 2023-03-13 08:49:21 +08:00
ChenZhaoYu db502e1412 feat: 权限输入框改为密码类型 2023-03-13 08:48:44 +08:00
ChenZhaoYu 41ddc6a8e1 chore: docs change 2023-03-13 08:44:53 +08:00
ChenZhaoYu 0481726608 feat: 修改 Prompt Store 移动端样式 2023-03-13 08:24:13 +08:00
ChenZhaoYu 73bf8c01a9 feat: 语言设定改为下拉框选择 2023-03-13 08:21:02 +08:00
Peter Dave Hello 8a0cb90ccc
feat: improve zh-TW locale, translate new strings (#542) 2023-03-13 08:11:22 +08:00
ChenZhaoYu f4be5b985a chore: update deps 2023-03-12 21:10:40 +08:00
ChenZhaoYu 0a9f9b618b feat: 调整界面 2023-03-12 21:08:32 +08:00
ChenZhaoYu af76b89fd4 feat: 仓库查询筛选 2023-03-12 20:57:21 +08:00
ChenZhaoYu de6632d631 feat: 仓库添加翻译 2023-03-12 20:49:10 +08:00
吴杉(Shan Wu) 7bebee202e
fix: Prompt商店在线导入可以导入两种recommend.json里提到的模板 (#516) (#521)
* fix(PromptStore): import prompt template using different dict keys

* chore(PromptStore): clear url field after downloading
2023-03-12 19:42:56 +08:00
Eason bc5e835f78
feat: support linux command line proxy standard (#308)
* feat: support linux command line proxy standard with env HTTPS_PROXY and ALL_PROXY

* chore: update docs for linux command linux proxy standard
2023-03-12 19:38:59 +08:00
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>
2023-03-12 19:29:04 +08:00
Yige 86d720ecee
fix: cors in auth_secret_key model (#499) 2023-03-12 18:47:44 +08:00
Peter Dave Hello 379bbcdd14
feat: Improve zh-TW locale (#511) 2023-03-12 09:52:42 +08:00
Nothing1024 84a19aafc2
fix: 更新JSON导入检查 (#523) 2023-03-12 09:49:45 +08:00
ChenZhaoYu cf03b65a4d chore: cover 2023-03-11 16:51:10 +08:00
ChenZhaoYu 461d70a696 chore: 2.10.4 2023-03-11 16:31:55 +08:00
ChenZhaoYu 6b8ba6302a chore: format 2023-03-11 16:27:55 +08:00
ChenZhaoYu c0a1b5606e feat: 设置添加关闭按钮 2023-03-11 16:16:35 +08:00