Commit graph

229 commits

Author SHA1 Message Date
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
eb25ba1bfa feat: support DALLE2 image edit 2023-02-26 13:35:59 +08:00
ikechan8370
5fb43d2adb feat: support DALLE2 image edit 2023-02-26 13:35:49 +08:00
ikechan8370
a46c69504a feat: 搞群员头像 2023-02-25 21:25:39 +08:00
ikechan8370
29c8f9c19d chore: auto release 2023-02-25 20:29:30 +08:00
ikechan8370
aff436007d feat: version 2023-02-25 20:26:11 +08:00
HalcyonAlcedo
ba027dc760
修复一些bug,图片识别支持多个图片 (#194)
* 修复引用转发,默认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兼容

---------

Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
2023-02-25 19:34:08 +08:00
ikechan8370
b22a7a69d6 fix: 图呢? 2023-02-25 19:33:19 +08:00
ikechan8370
b5dd59966b fix: limit number of picture 2023-02-25 16:21:33 +08:00
ikechan8370
ef01c37cdf fix: integer problem 2023-02-25 16:11:53 +08:00
ikechan8370
4bee340d24 fix: import problem 2023-02-25 16:03:29 +08:00
ikechan8370
07cd611568 feat: add sharp mirror 2023-02-25 15:59:24 +08:00
ikechan8370
94c655367e fix: let sharp be optional 2023-02-25 15:58:16 +08:00
ikechan8370
5fceef37ec feat: support dalle image variation 2023-02-25 15:23:47 +08:00
ikechan8370
38de2ce714 fix: error message 2023-02-25 12:05:41 +08:00
ikechan8370
3073ca91cf fix: dalle cooldown time 2023-02-25 11:51:54 +08:00
ikechan8370
8c9c098e25 feat: support dalle api 2023-02-25 11:38:34 +08:00
ikechan8370
47976f2325 fix: blockwords problem 2023-02-24 16:50:55 +08:00
ikechan8370
b5887e6962 fix: no quotes in picture mode 2023-02-24 16:17:51 +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
ikechan8370
38f726d92e
更新 config.js 2023-02-23 09:52:48 +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
53ff4b653c fix: remove mathjax 2023-02-22 14:00:09 +08:00
ikechan8370
6f90c50116 fix: bugs caused by duplicate variables 2023-02-22 13:57:14 +08:00
ikechan8370
79fc3d94a7 fix: ignore qrcode if there is failure to upload to cache server 2023-02-22 12:37:35 +08:00
ikechan8370
f235552e2b feat: add prompt block words 2023-02-22 12:22:23 +08:00
ikechan8370
0365a3a09f fix: 取消图片模式的循环Continue 2023-02-22 12:09:48 +08:00
ikechan8370
a2c4d516a3 fix: fix null conversation problems 2023-02-22 12:01:14 +08:00
Err0rCM
cffda09847
update README (#177) 2023-02-20 21:02:18 +08:00
HalcyonAlcedo
ae161ed4ce
使用base64代替escapeHtml就传入数据 (#178)
* 修复引用转发,默认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传递返回数据

---------

Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
2023-02-20 21:01:38 +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
0b945291c4
Update README.md 2023-02-20 14:00:54 +08:00
ikechan8370
d32d1e1033
Delete node_modules directory 2023-02-20 13:59:38 +08:00
ikechan8370
079336fb63 fix: gitignore 2023-02-20 13:58:58 +08:00
ikechan8370
5effeed82a fix: libraries and readme 2023-02-20 13:57:54 +08:00
ikechan8370
16166924cd fix: add git log 2023-02-20 13:44:51 +08:00
ikechan8370
d013013b89 fix: add code source 2023-02-20 13:41:24 +08:00
ikechan8370
b4c10d5c77 fix: restart error 2023-02-20 13:40:17 +08:00
ikechan8370
fcc1bd7972 chore: try 2023-02-20 13:37:57 +08:00
ikechan8370
a50a5b52cd fix: update error 2023-02-20 13:35:43 +08:00
ikechan8370
18bae72c50 fix: update command / 2023-02-20 13:33:57 +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
6b9afe588a
Update chat.js 2023-02-19 19:03:07 +08:00
ikechan8370
0df51e8dd6 Merge branch 'v2' of github.com:ikechan8370/chatgpt-plugin into v2 2023-02-19 15:54:58 +08:00
ikechan8370
1612898a01 fix: use default heiti font 2023-02-19 15:54:45 +08:00
ikechan8370
0c570db332
Update README.md 2023-02-19 15:29:16 +08:00
ikechan8370
d8b415f58a fix: add api3 debug text output 2023-02-19 15:26:24 +08:00
ikechan8370
713edac1d2
Update README.md 2023-02-19 15:12:29 +08:00