Commit graph

63 commits

Author SHA1 Message Date
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
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
ikechan8370
4cdaa70c22 feat: delete conversation beta 2023-02-18 15:10:57 +08:00
ikechan8370
d61e1ed7ed fix: 优化文本 2023-02-18 14:36:40 +08:00
ikechan8370
4b54a79fc6 feat: join conversation 2023-02-18 14:23:30 +08:00
ikechan8370
9527a9da92 fix: destroy conversation 2023-02-18 13:20:24 +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
a1e72c7757
fix: destroy await/async 2023-02-17 22:15:28 +08:00
HalcyonAlcedo
4d53f378f1
更改必应和chatgpt的图片模式web模板,临时处理切换模式后会话失效问题 (#163)
* 修复引用转发,默认bing模式并发

* 开启stream增加稳定性

* fix: remove queue element only in non-bing mode

* 使用chatgpt-api自带的超时逻辑,文字过多时启动切换到图片输出防止被吞

* Update chat.js

* 添加Bing专用的图片输出样式

* 添加chatgpt的新图片模式,临时处理切换api导致的对话异常

---------

Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
2023-02-17 19:55:23 +08:00
夏叶
37f75a64fa
OpenAI Plus剩余额度查询 (#161) 2023-02-17 19:15:06 +08:00
ikechan8370
22d85b5d98 feat: support node-fetch in API mode 2023-02-16 21:39:33 +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
0f7122f865 feat: support the complete bing cookie which contains _U 2023-02-16 16:08:07 +08:00
HalcyonAlcedo
1296eccb48
修复引用,为必应开启并发 (#151)
* 修复引用转发,默认bing模式并发

* 开启stream增加稳定性

* fix: remove queue element only in non-bing mode

---------

Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
2023-02-15 16:16:37 +08:00
ikechan8370
faf3612c96 fix: ptimout not defined 2023-02-15 12:38:10 +08:00
ikechan8370
236ec07f38 fix: add bing timeout 2023-02-15 12:22:02 +08:00
ikechan8370
54cdded6c0 fix: API mode invalid session token error 2023-02-15 11:52:29 +08:00
ikechan8370
23b16a7f85 fix: bing timeout error 2023-02-15 11:32:45 +08:00
ikechan8370
4ba1c80cc0 fix: API3 conversation bug 2023-02-15 00:49:48 +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
ab021d0caa fix: api -> reverseProxyUrl 2023-02-14 19:04:18 +08:00
ikechan8370
548642dab9 fix: null option 2023-02-14 18:58:58 +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
58e1d00453 fix: hint for no bing cookie 2023-02-14 11:37:26 +08:00
ikechan8370
ec45eb1173 fix: deconstruction null bug 2023-02-14 11:35:09 +08:00
ikechan8370
3ff591d205 feat: add support for bing(beta and WIP) 2023-02-14 11:24:09 +08:00
ikechan8370
1e918a57fe fix: change retry times for API2 from 5 to 1 2023-02-14 00:14:20 +08:00
ikechan8370
12290ad8e4 fix: add more hint 2023-02-12 23:00:53 +08:00
ikechan8370
9aa0a314bc fix: conversationId field error 2023-02-12 18:23:15 +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
16983adffc Update README.md 2023-02-11 01:32:23 +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
b88d450aef feat: simple queue management 2023-02-03 22:03:11 +08:00
ikechan8370
e6738e5527 fix: redis expire time; picture mode title; queue lock problem 2023-02-03 21:49:55 +08:00
ikechan8370
317b89e962
fix: remove console log 2023-02-02 14:46:16 +08:00
ikechan8370
8ff0983a87
fix: delete old codes 2023-02-02 14:42:20 +08:00
ikechan8370
8dacaa4a48
fix: switch off debug mode 2023-02-02 14:39:08 +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
78a524bcbe fix: add 120s timeout for answering 2023-01-26 21:06:45 +08:00
ikechan8370
02ab29b4d5 feat: 问题的队列,修复后来的问题会阻断前面问题的问题 2023-01-26 20:40:26 +08:00
ikechan8370
5e28722601 feat: conversation preserve duration 2023-01-10 21:03:32 +08:00
ikechan8370
2aa274957d
fix: 调低优先级缓解抢指令问题 2023-01-04 13:41:45 +08:00