wangxi
1187d88593
fix: 修复API余额查询 ( #1174 )
...
* fix: 使API余额查询可用
* chore: 调整计算方式
* perf: 余额描述变更
---------
Co-authored-by: ChenZhaoYu <790348264@qq.com>
2 years ago
ChenZhaoYu
abc4c3ad22
chore: 回退 chatgpt 包版本,原因:token 长回复报错
2 years ago
ChenZhaoYu
c2b25a84c7
chore: default API_REVERSE_PROXY
2 years ago
ChenZhaoYu
553e239db3
chore: update .env.examples
2 years ago
ChenZhaoYu
4e4e41b0d6
chore: update deps
2 years ago
ChenZhaoYu
40fa028408
fix: some error
2 years ago
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>
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
cong
468bed7705
feat: allow user disable openai API debug log ( #1041 )
...
* feat: allow user disable openai API debug log
* chore: fix pnpm lock
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
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
gitgitgogogo
fb8ad3790d
fix: 反向代理限流失效 ( #863 )
...
https://docs.colyseus.io/zh_hk/colyseus/how-to/rate-limit/
使用nginx限流会只识别为服务器ip,需启用trust proxy
2 years ago
Kid
57a1d6e3cd
fix: ESM error ( #826 )
2 years ago
hncboy
9c6a3d6110
feat: 增加 ChatGPTUnofficialProxyAPI 的模型自定义配置 ( #632 )
...
* feat: 增加 ChatGPTUnofficialProxyAPI 的模型自定义配置(#618 )
* perf: 修改判断
---------
Co-authored-by: ChenZhaoYu <790348264@qq.com>
2 years ago
吴杉(Shan Wu)
3e509f6663
feat: 当用gpt-4的API 时增加可用的 Max Tokens ( #729 )
...
* fix: 用GPT-4 API时增加max token
* style: eslint fix
---------
Co-authored-by: Redon <790348264@qq.com>
2 years ago
ChenZhaoYu
bf48eae9fe
feat: 更新依赖并兼容已存在的代理
2 years ago
quzard
6ecc61ac5d
feat: 添加角色设定预留API 设定页( #768 )
...
* add systemMessage
* perf: 优化代码和类型
* perf: 补全翻译和为以后做准备
---------
Co-authored-by: ChenZhaoYu <790348264@qq.com>
2 years ago
xiaozhu
e02ab1fbad
feat: 新增限流功能 ( #718 )
...
* 请求速率限制
* perf: 优化代码
---------
Co-authored-by: ChenZhaoYu <790348264@qq.com>
2 years ago
ChenZhaoYu
d1c15f58c4
perf: config 接口添加权限验证
2 years ago
ChenZhaoYu
08b5772420
feat: 查询余额使用 API_BASE_URL 参数
2 years ago
ChenZhaoYu
95ce026813
fix: 回退 chatgpt 版本导致的代理失效
2 years ago
ChenZhaoYu
95724845cf
feat: session 返回接口方式做显示判断
2 years ago
ChenZhaoYu
c5552893d7
chore: update deps and lint fix
2 years ago
pzcn
e46d3685a0
feat: show api balance ( #582 )
...
* feat: show api balance
* Update index.ts
* 保留小数点后五位
* perf: 判断优化
---------
Co-authored-by: Redon <790348264@qq.com>
2 years ago
ChenZhaoYu
2ad7567548
perf: 优化部份判断
2 years ago
Kirk Lin
0b13846861
chore: extract proxy setup code into reusable function ( #583 )
2 years ago
ChenZhaoYu
f4be5b985a
chore: update deps
2 years ago
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
2 years ago
Yige
86d720ecee
fix: cors in auth_secret_key model ( #499 )
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
133a24e25f
chore: update chatgpt
2 years ago
ChenZhaoYu
c17cc16c0e
chore: 异常打印和调整日志
2 years ago
ChenZhaoYu
01edad7717
fix: 修复默认模型判断错误
2 years ago
ChenZhaoYu
eff787a2b7
chore: 移除两种报错
2 years ago
ChenZhaoYu
7d52e6dd1e
feat: model typo
2 years ago
ChenZhaoYu
ba41015df8
Merge branch 'feature'
2 years ago
Yige
a4ef23d603
chore: rename environment variables files ( #395 )
...
* chore: rename environment variables files
* docs: update README.md about .env file
2 years ago
xieccc
d3daa654a7
feat: 新增API模型配置项 ( #404 )
...
* chore: 更新文档
* Improve zh-TW locale (#379 )
* fix: 移动端样式
* feat: typo
* fix: 调整滚动回原样
* feat: 新增API模型配置项
---------
Co-authored-by: ChenZhaoYu <790348264@qq.com>
Co-authored-by: Peter Dave Hello <hsu@peterdavehello.org>
2 years ago
Redon
ffd4da91cf
chore: version 2.10.0
...
* feat: 权限验证功能
* chore: v2.10.0
* feat: 500 服务异常页面
* feat: 只有结束才会滚动到底部
* chore: 修改 CHANGELOG
* chore: 不存在时输出默认报错
2 years ago
ChenZhaoYu
8e1b4edc91
feat: 转义状态码
2 years ago
ChenZhaoYu
50e672e79b
fix: 调整部分问题
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
ChenZhaoYu
f95af40ab8
chore: 更新文档
2 years ago
InterestingDarkness
20d6135658
Add support for SOCKS proxy in ChatGPTAPI fetch ( #214 )
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
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
1406292405
fix: 修复部份 `bug` ( #131 )
...
* fix: 主题模式图标不一致的问题[#125 ]
* fix: 修复样式问题[#123 ][#126 ]
* perf: 优化代码和添加类型
2 years ago