Sean Murphy
4b29e261a0
新增对群聊黑白名单和启禁用私聊的功能,添加对全局回复模式、语音角色和主动打招呼的指令配置。 ( #341 )
...
* feat: add support for ‘greeting’ and ‘global reply mode’ commands, improve variable naming and remove unnecessary backend output.
* feat: Add support for black and white lists, global reply mode and voice role settings, private chat switch, and active greeting configuration. Refactor some variable names and comment out redundant code for better readability and reduced backend output.
* feat: 为新功能完善了帮助面板
* docs: 完善了‘打招呼’的帮助说明
* feature:Add custom configuration for voice filtering regex.
---------
Co-authored-by: Sean <1519059137@qq.com>
2023-04-13 22:36:58 +08:00
ikechan8370
486b89a5b3
docs: 更新部分文档;增加beta过期bing token移除
2023-04-02 13:52:14 +08:00
ikechan8370
b35a609b63
fix: 适应包的修改避免API模式404
2023-03-16 20:12:02 +08:00
ikechan8370
1bb065be18
feat: config帮助文档初始化(WIP)
2023-03-03 20:32:10 +08:00
ikechan8370
873deda49d
feat: 修改配置文件格式避免频繁panic;降低api模式重试次数;优化帮助显示;支持必应新增的三种模式切换
2023-03-03 20:31:20 +08:00
ikechan8370
446de028ec
fix: api反代默认值报错的问题
2023-03-02 20:15:40 +08:00
ikechan8370
f84663e2a9
feat: support openai api baseurl
2023-03-02 19:42:36 +08:00
ikechan8370
17fb123e3b
feat: support system message in api mode
2023-03-02 18:02:55 +08:00
HalcyonAlcedo
7b58f20578
独立render功能,图片模式添加引用回复 ( #204 )
...
* 修复引用转发,默认bing模式并发
* 开启stream增加稳定性
* fix: remove queue element only in non-bing mode
* 使用chatgpt-api自带的超时逻辑,文字过多时启动切换到图片输出防止被吞
* Update chat.js
* 添加Bing专用的图片输出样式
* 添加chatgpt的新图片模式,临时处理切换api导致的对话异常
* 修改bing样式表
* 为图片添加外部页面缓存
* 为图片模式添加MathJax
* feat: add switch for qrcode
* 防止script攻击
* 修复网页模板错误
* 修复bing页面引用错误
* 缓存服务器异常时处理
* 添加默认配置加载
* 修复配置文件路径错误
* 删除重复的模板文件,修复二维码地址错误
* 修正图片渲染错误
* 修复引用渲染错误
* 二维码网址统一改为使用本地配置
* 添加关闭思考提示的配置项
* 修复在Windows上无法载入配置文件的问题
* 修复关闭qr的情况下渲染错误
* 改为使用base64传递返回数据
* 当异常过多时使用图片输出
* 添加锅巴面板配置支持
* 补充遗漏的默认配置
* 修复qr模式下引用未被传递的问题
* 修复未将引用数据传输给缓存服务器的问题
* 删除无用的bingTimeoutMs配置项
* 添加消息队列超时弹出
* 优化图片模式处理,解决对话队列卡住的问题
* 添加对图片ocr的支持
* 添加图片识别配置项
* 添加黑名单配置项
* 修复一些bug
* 修改锅巴配置格式和描述
* 传入数据也使用markdown
* 图片识别换行改为marked兼容
* 添加绘图CD配置项
* 独立render模块,添加图片回复引用
---------
Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
2023-02-28 19:50:53 +08:00
ikechan8370
3073ca91cf
fix: dalle cooldown time
2023-02-25 11:51:54 +08:00
HalcyonAlcedo
1247aef5bb
添加图片识别功能 ( #191 )
...
* 修复引用转发,默认bing模式并发
* 开启stream增加稳定性
* fix: remove queue element only in non-bing mode
* 使用chatgpt-api自带的超时逻辑,文字过多时启动切换到图片输出防止被吞
* Update chat.js
* 添加Bing专用的图片输出样式
* 添加chatgpt的新图片模式,临时处理切换api导致的对话异常
* 修改bing样式表
* 为图片添加外部页面缓存
* 为图片模式添加MathJax
* feat: add switch for qrcode
* 防止script攻击
* 修复网页模板错误
* 修复bing页面引用错误
* 缓存服务器异常时处理
* 添加默认配置加载
* 修复配置文件路径错误
* 删除重复的模板文件,修复二维码地址错误
* 修正图片渲染错误
* 修复引用渲染错误
* 二维码网址统一改为使用本地配置
* 添加关闭思考提示的配置项
* 修复在Windows上无法载入配置文件的问题
* 修复关闭qr的情况下渲染错误
* 改为使用base64传递返回数据
* 当异常过多时使用图片输出
* 添加锅巴面板配置支持
* 补充遗漏的默认配置
* 修复qr模式下引用未被传递的问题
* 修复未将引用数据传输给缓存服务器的问题
* 删除无用的bingTimeoutMs配置项
* 添加消息队列超时弹出
* 优化图片模式处理,解决对话队列卡住的问题
* 添加对图片ocr的支持
* 添加图片识别配置项
* 添加黑名单配置项
---------
Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
2023-02-24 15:51:29 +08:00
HalcyonAlcedo
7192a8c6fa
优化图片模式发送功能,增加对话队列超时检测 ( #188 )
...
* 修复引用转发,默认bing模式并发
* 开启stream增加稳定性
* fix: remove queue element only in non-bing mode
* 使用chatgpt-api自带的超时逻辑,文字过多时启动切换到图片输出防止被吞
* Update chat.js
* 添加Bing专用的图片输出样式
* 添加chatgpt的新图片模式,临时处理切换api导致的对话异常
* 修改bing样式表
* 为图片添加外部页面缓存
* 为图片模式添加MathJax
* feat: add switch for qrcode
* 防止script攻击
* 修复网页模板错误
* 修复bing页面引用错误
* 缓存服务器异常时处理
* 添加默认配置加载
* 修复配置文件路径错误
* 删除重复的模板文件,修复二维码地址错误
* 修正图片渲染错误
* 修复引用渲染错误
* 二维码网址统一改为使用本地配置
* 添加关闭思考提示的配置项
* 修复在Windows上无法载入配置文件的问题
* 修复关闭qr的情况下渲染错误
* 改为使用base64传递返回数据
* 当异常过多时使用图片输出
* 添加锅巴面板配置支持
* 补充遗漏的默认配置
* 修复qr模式下引用未被传递的问题
* 修复未将引用数据传输给缓存服务器的问题
* 删除无用的bingTimeoutMs配置项
* 添加消息队列超时弹出
* 优化图片模式处理,解决对话队列卡住的问题
---------
Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
2023-02-23 18:47:35 +08:00
HalcyonAlcedo
a68103737f
添加锅巴面板配置支持 ( #184 )
...
* 修复引用转发,默认bing模式并发
* 开启stream增加稳定性
* fix: remove queue element only in non-bing mode
* 使用chatgpt-api自带的超时逻辑,文字过多时启动切换到图片输出防止被吞
* Update chat.js
* 添加Bing专用的图片输出样式
* 添加chatgpt的新图片模式,临时处理切换api导致的对话异常
* 修改bing样式表
* 为图片添加外部页面缓存
* 为图片模式添加MathJax
* feat: add switch for qrcode
* 防止script攻击
* 修复网页模板错误
* 修复bing页面引用错误
* 缓存服务器异常时处理
* 添加默认配置加载
* 修复配置文件路径错误
* 删除重复的模板文件,修复二维码地址错误
* 修正图片渲染错误
* 修复引用渲染错误
* 二维码网址统一改为使用本地配置
* 添加关闭思考提示的配置项
* 修复在Windows上无法载入配置文件的问题
* 修复关闭qr的情况下渲染错误
* 改为使用base64传递返回数据
* 当异常过多时使用图片输出
* 添加锅巴面板配置支持
* 补充遗漏的默认配置
* 修复qr模式下引用未被传递的问题
---------
Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
2023-02-22 18:51:05 +08:00
ikechan8370
f235552e2b
feat: add prompt block words
2023-02-22 12:22:23 +08:00
HalcyonAlcedo
59d5e904b5
修复bug ( #175 )
...
* 修复引用转发,默认bing模式并发
* 开启stream增加稳定性
* fix: remove queue element only in non-bing mode
* 使用chatgpt-api自带的超时逻辑,文字过多时启动切换到图片输出防止被吞
* Update chat.js
* 添加Bing专用的图片输出样式
* 添加chatgpt的新图片模式,临时处理切换api导致的对话异常
* 修改bing样式表
* 为图片添加外部页面缓存
* 为图片模式添加MathJax
* feat: add switch for qrcode
* 防止script攻击
* 修复网页模板错误
* 修复bing页面引用错误
* 缓存服务器异常时处理
* 添加默认配置加载
* 修复配置文件路径错误
* 删除重复的模板文件,修复二维码地址错误
* 修正图片渲染错误
* 修复引用渲染错误
* 二维码网址统一改为使用本地配置
* 添加关闭思考提示的配置项
* 修复在Windows上无法载入配置文件的问题
* 修复关闭qr的情况下渲染错误
---------
Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
2023-02-20 18:32:45 +08:00
ikechan8370
5399d57e38
feat: update beta
2023-02-20 13:23:13 +08:00
HalcyonAlcedo
049e71b7bb
修复一些图片模式页面错误,添加图片页面服务器自定义配置,修改配置文件加载方法 ( #172 )
2023-02-20 11:32:44 +08:00
ikechan8370
e9bd95de41
fix: revert api
2023-02-19 01:21:11 +08:00
ikechan8370
6da40e3843
fix: vulnerability problems
2023-02-19 01:19:08 +08:00
HalcyonAlcedo
a4f12eaf09
为图片添加外部页面保存 ( #167 )
...
* 修复引用转发,默认bing模式并发
* 开启stream增加稳定性
* fix: remove queue element only in non-bing mode
* 使用chatgpt-api自带的超时逻辑,文字过多时启动切换到图片输出防止被吞
* Update chat.js
* 添加Bing专用的图片输出样式
* 添加chatgpt的新图片模式,临时处理切换api导致的对话异常
* 修改bing样式表
* 为图片添加外部页面缓存
* 为图片模式添加MathJax
* feat: add switch for qrcode
---------
Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
2023-02-19 00:17:37 +08:00
ikechan8370
a3b14b1a79
Conversation communication ( #165 )
...
* init: conversation in api3 (WIP)
* feat: beta conversation
* fix: fix some problems
* fix: add help message
2023-02-18 12:33:24 +08:00
ikechan8370
0483f17e44
fix: use the latest new reverse proxy
...
use the latest new reverse proxy with load balancer
2023-02-16 22:18:54 +08:00
Err0rCM
b30c3e37e2
unset PROXY default & ReBuild README ( #158 )
...
* 取消默认值
* ReBuild README
2023-02-16 20:44:02 +08:00
HalcyonAlcedo
2ca69ed758
使用chatgpt-api自带的超时机制,回复文字过多时使用图片发送 ( #154 )
...
* 修复引用转发,默认bing模式并发
* 开启stream增加稳定性
* fix: remove queue element only in non-bing mode
* 使用chatgpt-api自带的超时逻辑,文字过多时启动切换到图片输出防止被吞
* Update chat.js
---------
Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
2023-02-16 16:15:24 +08:00
ikechan8370
53f9edd26d
一些帮助文本 ( #155 )
...
* feat: api3 WIP
* feat: add support for proxy of openai
* fix: if no proxy
* fix: optimize help message
2023-02-16 15:32:19 +08:00
ikechan8370
236ec07f38
fix: add bing timeout
2023-02-15 12:22:02 +08:00
ikechan8370
7719b27392
fix: add default timeout
2023-02-15 12:05:50 +08:00
ikechan8370
ca83acb3c7
fix: change default timeout
2023-02-15 11:37:42 +08:00
ikechan8370
23b16a7f85
fix: bing timeout error
2023-02-15 11:32:45 +08:00
ikechan8370
040b4e89c1
fix: remove proxy
2023-02-14 23:54:39 +08:00
ikechan8370
4330e61dc3
fix: add 429 error
2023-02-14 23:13:05 +08:00
ikechan8370
62c8d56e76
Api3 ( #149 )
...
* feat: api3 WIP
* feat: add support for proxy of openai
* fix: if no proxy
2023-02-14 22:54:47 +08:00
ikechan8370
548642dab9
fix: null option
2023-02-14 18:58:58 +08:00
ikechan8370
87cc56e289
feat: add other api base url for API
2023-02-14 18:56:43 +08:00
ikechan8370
c0c43461c1
feat: add other api base url for API
2023-02-14 18:55:47 +08:00
ikechan8370
11f35af89e
feat: add support for configurable reverse proxy url
2023-02-14 12:04:43 +08:00
ikechan8370
3ff591d205
feat: add support for bing(beta and WIP)
2023-02-14 11:24:09 +08:00
ikechan8370
a8ec5f41e3
feat: add support for the third party reverse proxy mode
2023-02-12 15:05:03 +08:00
ikechan8370
6fdcbf12e2
feat: support browser-based solution. update readme
2023-02-11 23:17:38 +08:00
ikechan8370
e59ed0c048
fix: switch back to gpt-3
2023-02-11 14:16:29 +08:00
ikechan8370
4a81d68c6e
fix: Update latest ChatGPT model
2023-02-11 12:58:34 +08:00
ikechan8370
b0738c6db6
fix: 加入重试机制
2023-02-10 10:46:31 +08:00
ikechan8370
233fc7417c
feat: 提供了更多的可选配置项,包括确认开关、暗示指令覆盖、触发方式、模型名称和屏蔽词等
2023-02-08 21:09:55 +08:00
ikechan8370
bdafec9a21
Use chatgpt-api ( #106 )
...
* feat: use the latest api from chatgpt-api
* feat: use the latest api from chatgpt-api
2023-02-02 14:33:26 +08:00
ikechan8370
241cc6c2ff
Update index.js
2023-01-16 19:27:00 +08:00
ikechan8370
5a603d65ef
Update index.js
2023-01-16 19:26:22 +08:00
ikechan8370
5e3745d5d4
Update index.js
2023-01-11 22:57:23 +08:00
ikechan8370
5e28722601
feat: conversation preserve duration
2023-01-10 21:03:32 +08:00
葛胤池
66cc464150
fix: update config description
2022-12-20 22:00:35 +08:00
葛胤池
d0dcc50764
feat: 暂时不使用chatgpt-api库,拷贝了部分其代码进行修改
2022-12-17 11:35:59 +08:00