Commit graph

557 commits

Author SHA1 Message Date
夏叶
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
Err0rCM
6f60cd0ebc
添加获取必应Token及必应Token轻校验 (#157)
* feat: api3 WIP

* feat: add support for proxy of openai

* fix: if no proxy

* fix: optimize help message

* 增加必应token轻校验

经测试必应token固定长度215,但内容不确定

* feat: 绑定bing token后测试一下

---------

Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
2023-02-16 17:45:57 +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
545c8fd483 Merge branch 'v2' of github.com:ikechan8370/chatgpt-plugin into v2 2023-02-16 16:09:16 +08:00
ikechan8370
0f7122f865 feat: support the complete bing cookie which contains _U 2023-02-16 16:08:07 +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
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
b342e47e8a fix: some help message 2023-02-15 00:20:44 +08:00
ikechan8370
a4a09bfcd8 fix: some help message 2023-02-15 00:18:56 +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
95d14fa4a4 fix: bind token 2023-02-14 14:06:20 +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
ab20b0513d fix: add hint for swicth mode 2023-02-12 15:17:36 +08:00
ikechan8370
a8ec5f41e3 feat: add support for the third party reverse proxy mode 2023-02-12 15:05:03 +08:00
ikechan8370
36aaa12586 fix: incorrect help text under prefix toggle mode 2023-02-12 00:12:19 +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
葛胤池
872a191022 fix: remove chatgpt lib 2022-12-19 12:38:59 +08:00
葛胤池
e5e26bc4d1 fix: 会话连续问题 2022-12-19 12:36:56 +08:00
葛胤池
4df0addffb fix: use only one browser instance with debbugger url endpoint 2022-12-17 13:07:33 +08:00
葛胤池
d0dcc50764 feat: 暂时不使用chatgpt-api库,拷贝了部分其代码进行修改 2022-12-17 11:35:59 +08:00
葛胤池
b8bd3dfec9 fix: incorrect redis set 2022-12-16 22:55:55 +08:00
葛胤池
33c87054c7 fix: use full browser mode 2022-12-16 19:59:57 +08:00