Commit graph

214 commits

Author SHA1 Message Date
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
ikechan8370
920cd8184a
Update README.md 2023-02-19 15:12:15 +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
ikechan8370
b5afe1f4fb Committing changes to index.html 2023-02-19 01:12:31 +08:00
HalcyonAlcedo
c07503db29
防止注入攻击 (#170)
* 修复引用转发,默认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攻击

---------

Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
2023-02-19 00:44:33 +08:00
夏叶
624e1f6e1a
添加OpenAI API额度的到期日期,格式化小数点 (#168) 2023-02-19 00:18:11 +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
de4a6c8f41 fix: picture mode api3 compatible problem 2023-02-18 22:14:38 +08:00
ikechan8370
9ae8d1cec6 Merge branch 'v2' of github.com:ikechan8370/chatgpt-plugin into v2 2023-02-18 20:50:40 +08:00
ikechan8370
2804aea54d fix: no use picture bug 2023-02-18 20:49:57 +08:00
ikechan8370
4bf12ccb89
fix: enable confirm by default 2023-02-18 17:53:59 +08:00
ikechan8370
da856956c8
fix: remove qq group qrcode because of harassing 2023-02-18 17:36:19 +08:00
ikechan8370
a0ac404e54 feat: help for delete 2023-02-18 15:30:50 +08:00
ikechan8370
c98388258a fix: delete log bug 2023-02-18 15:20:36 +08:00
ikechan8370
05494ad85b fix: delete in group only at mode 2023-02-18 15:16:53 +08:00