Commit Graph

354 Commits

Author SHA1 Message Date
idawnwon da04383772
fix: default return in `useLanguange()` hook (#1352)
if `setLocale('zh-CN')`, `return` should be `zhCN`, not `enUS`.
2023-04-10 21:29:03 +08:00
ChenZhaoYu 527c8613b2 chore: mark days 2023-04-10 15:51:19 +08:00
ChenZhaoYu 05a241408e fix: conversationOptions 2023-04-10 08:24:16 +08:00
舜岳 20aa35f209
chore: optimize code (#1328) 2023-04-09 22:14:33 +08:00
ChenZhaoYu ddc7066f4e chore: 默认 100 秒 2023-04-08 11:57:41 +08:00
ChenZhaoYu 44f00c95cd fix: 调整光标到底部 2023-04-08 11:49:41 +08:00
ZuoNing 439104f195
fix: 查询使用量支持代理&修正使用量文案 (#1296)
* fix: 查询使用量支持代理&修正使用量文案

* fix: 修复默认错误

* chore: 移除打印

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2023-04-08 11:47:00 +08:00
quzard 86bba7d8f3
feat: 添加自定义 temperature 和 top_p (#1260)
* 在设置的高级面板里自定义temperature和top_p

* change default temperature from 0.8 to 0.5

* pref: 检查代码,增加仅 api 的接口判断

* chore: 锁定 pnpm-lock.yaml

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2023-04-07 14:32:09 +08:00
wangxi 1187d88593
fix: 修复API余额查询 (#1174)
* fix: 使API余额查询可用

* chore: 调整计算方式

* perf: 余额描述变更

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2023-04-04 08:27:16 +08:00
RyanzeX b07f01b0cf
chore: 引导用户触发提示词 (#1183) 2023-04-04 07:54:05 +08:00
LeafSummer 9b66fed26e
fix: requestOptions (#1188)
修复页面上重复执行onRegenerate操作,会丢失上下文的问题
2023-04-04 07:53:37 +08:00
ChenZhaoYu abc4c3ad22 chore: 回退 chatgpt 包版本,原因:token 长回复报错 2023-04-03 16:19:38 +08:00
ChenZhaoYu a7c97026b7 chore: v2.10.9 2023-04-03 09:46:46 +08:00
ChenZhaoYu 0ff7825387 chore: update README.md 2023-04-03 09:21:08 +08:00
ChenZhaoYu c2b25a84c7 chore: default API_REVERSE_PROXY 2023-04-03 09:19:12 +08:00
ChenZhaoYu 553e239db3 chore: update .env.examples 2023-04-03 09:01:56 +08:00
idawnwon e3a3e4dc29
fix: Update @acheong08 Reverse Proxy URL (#1085) 2023-04-03 08:53:52 +08:00
ChenZhaoYu 4e4e41b0d6 chore: update deps 2023-04-03 08:51:04 +08:00
vchenpeng 5594b0baa9
fix: 空引用显示undefined (#1103)
Co-authored-by: peng.chen <peng.chen@freemud.com>
2023-04-03 08:48:59 +08:00
Fog3211 e2ad3fe248
fix: x-scrollbar height (#1153)
Co-authored-by: Fog3211 <23151576+Fog3211@users.noreply.github.com>
2023-04-03 08:25:07 +08:00
ChenZhaoYu 9bd88eac84 fix: 宽度问题 2023-03-31 14:52:54 +08:00
ChenZhaoYu 431de382dc perf: input auto size 2023-03-31 14:43:40 +08:00
ChenZhaoYu b241240fc6 perf: 默认 systemMessage 2023-03-31 13:42:16 +08:00
ChenZhaoYu 40fa028408 fix: some error 2023-03-31 13:37:07 +08:00
ChenZhaoYu 15f3aac88e perf: 调整光标位置 2023-03-31 13:20:55 +08:00
Hank 90f0c3a80b
feat: add socks username/password config (#890)
Co-authored-by: Redon <790348264@qq.com>
2023-03-31 13:09:51 +08:00
ChenZhaoYu d2a852d5eb chore: .eslintignore 2023-03-31 13:05:30 +08:00
yimiaoxiehou 85543deca3
feat: 添加 socks5 代理认证 (#999)
* support socks5 proxy auth

* Update build_docker.yml

* Update README.md

* perf: 增加判断

* fix: lint

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2023-03-31 12:23:26 +08:00
ChenZhaoYu 142759ac50 chore: lint fix 2023-03-31 11:53:10 +08:00
Miku da20aed4b0
feat: add kubernetes deploy (#1001) 2023-03-31 11:52:10 +08:00
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>
2023-03-31 11:50:32 +08:00
cong 468bed7705
feat: allow user disable openai API debug log (#1041)
* feat: allow user disable openai API debug log

* chore: fix pnpm lock
2023-03-31 11:40:01 +08:00
LOVECHEN 0878af0239
perf: 加入容器名字 (#1035)
这样查看服务的时候会更优雅
2023-03-31 11:34:31 +08:00
ChenZhaoYu aa0487edc4 chore: gitHub action 2023-03-29 16:21:08 +08:00
ChenZhaoYu 76cef650b4 chore: build rollback 2023-03-28 16:06:11 +08:00
assassinliujie 78bcf7f4ce
perf: optimized output (#962)
* Update index.ts

* Update index.vue

* Update index.ts
2023-03-28 15:47:40 +08:00
ChenZhaoYu c0a9fd5208 fix: 快速按下删除会话导致的问题 #917 2023-03-28 13:48:49 +08:00
ChenZhaoYu 07123b70ad chore: rolled back to clear the impact 2023-03-28 13:20:55 +08:00
assassinliujie b579d24d19
pref: message output optimization (#935)
* Update index.ts

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

* Update index.vue

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

* chore: lint fix

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2023-03-28 09:40:20 +08:00
KingTwinkle e2eeee455a
fix: local import error and NModal not as expected (#938) 2023-03-28 09:34:15 +08:00
weifeng 32ad20416c
chore: Update README.md (#880)
* Update README.md

docker-compose 文件中注释掉未使用的配置节点,因为 留xxx 会导代码读取节点内容值为xxx,而不是期望的默认值,导致代码运行异常
增加 对模型可选参数的备注

* style: eslint fix

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2023-03-27 15:58:54 +08:00
吴杉(Shan Wu) 799af86739
perf: add localization for sider (#911) 2023-03-27 15:49:42 +08:00
ChenZhaoYu c3f431118b chore: update docs 2023-03-26 10:08:01 +08:00
zaimoe a3944f86b7
fix: missing VITE_GLOB_API_URL when docker build, fixed #690 #717 # (#877) 2023-03-25 17:23:57 +08:00
Yige 365a7df1ff
Merge pull request #883 from yi-ge/dev-main
docs: 更新README.md,添加长回复使用方法
2023-03-25 17:06:20 +08:00
yi-ge 639152f987 docs: update README.md, add long reply feature 2023-03-25 17:01:12 +08:00
gitgitgogogo fb8ad3790d
fix: 反向代理限流失效 (#863)
https://docs.colyseus.io/zh_hk/colyseus/how-to/rate-limit/

使用nginx限流会只识别为服务器ip,需启用trust proxy
2023-03-25 08:30:15 +08:00
ChenZhaoYu 902321026b perf: 本地地址 2023-03-24 08:14:51 +08:00
ChenZhaoYu 9b0d7dbee8 fix: 移动端焦点不触发的问题 2023-03-23 21:12:36 +08:00
ChenZhaoYu 634c879108 perf: 自动焦点时移动端上的不便 2023-03-23 20:51:20 +08:00