Commit Graph

81 Commits

Author SHA1 Message Date
lanvent
48c08f4aad unset default timeout 2023-04-10 14:50:34 +08:00
yubai
89e8f385b4 bugfix for azure chatgpt adapting 2023-04-09 18:00:05 +08:00
lanvent
7e7484a27d Merge Pull Ruquest #757 into master 2023-04-05 23:37:02 +08:00
lanvent
cc881adda6 Merge Pull Request #686 into master 2023-04-05 04:18:06 +08:00
JS00000
78d4c58b70 Merge branch 'master' into wechatmp 2023-04-05 00:37:09 +08:00
lanvent
eca369532d Merge Pull Request #663 into master 2023-04-04 22:54:17 +08:00
lanvent
371e38cfa6 add concurrency_in_session,request_timeout options 2023-04-04 13:33:01 +08:00
JS00000
21a3b0d9a1 using pickle instead of redis 2023-04-04 03:17:19 +08:00
JS00000
76783f0ad3 private openai_api_key 2023-04-04 03:17:19 +08:00
JS00000
45a131aa0d support plugins 2023-04-04 03:17:19 +08:00
goldfishh
0b5fd27cd8 fix get_session error 2023-03-30 20:02:11 +08:00
lanvent
947e892916 feat: retry when timeout 2023-03-29 15:12:27 +08:00
lanvent
d62b7d1a99 feat: merge chat related sessions 2023-03-29 12:25:31 +08:00
lanvent
fd64f88a7e fix: import openai.error 2023-03-28 22:18:29 +08:00
zwssunny
5b85e60d5d 增加群组语言功能 2023-03-27 18:24:39 +08:00
lanvent
ff3d143185 plugins: support openaibot 2023-03-26 23:33:29 +08:00
lanvent
ea95ab9062 refactor: decouple openai session 2023-03-26 23:09:05 +08:00
lanvent
38c901a1c5 fix: init image api for bot 2023-03-26 21:49:07 +08:00
lanvent
0c9753b7cd refactor: decouple chatgpt session 2023-03-26 21:46:33 +08:00
lanvent
721b36c7f7 refactor: reuse openai image interface 2023-03-26 20:08:04 +08:00
lanvent
3d428ee844 fix: avoid possible dead loop when discarding 2023-03-26 18:07:28 +08:00
lanvent
a3be1fcd8f feat: support calc tokens precisely 2023-03-26 17:49:49 +08:00
lanvent
cd86801eac feat: add options to set voice bot 2023-03-25 18:08:37 +08:00
Pin Fang
04fec4a585 Support Azure hosted chatgpt service 2023-03-25 00:07:08 +08:00
lanvent
2f78c072d7 fix: merge plugins to dev 2023-03-24 12:17:23 +08:00
zhayujie
42f3f4403c Merge branch 'plugins' into dev 2023-03-24 01:40:13 +08:00
goldfishh
3f889ab75f feature(rate-limit): 新增令牌桶类,用于主动限制调用gpt3.5, dalle接口频率 2023-03-20 22:18:10 +08:00
lanvent
77046000e8 plugin: add Role plugin 2023-03-20 20:43:02 +08:00
lichengzhe
9b2da6c431 清除记忆命令和API调用参数改为config.json配置项 2023-03-19 01:10:27 +08:00
zhayujie
3c04325aae feat: add config for model selection #471 2023-03-15 23:27:51 +08:00
zhayujie
224ee6bd89 fix: openai_base_url load 2023-03-15 12:57:34 +08:00
B1gM8c
2c8da59b47 支持自定义openai_api_base
支持自定义openai_api_base

解决国内API被墙的问题,可以自定义使用自己的中转API
2023-03-15 00:14:39 +08:00
lanvent
dce9c4dccb compatible with openai bot 2023-03-13 19:58:35 +08:00
lanvent
ad6ae0b32a refactor: use enum to specify type 2023-03-13 19:44:24 +08:00
lanvent
0fcf0824dc feat: support plugins 2023-03-12 11:53:06 +08:00
lanvent
9e07703eb1 formatting code 2023-03-12 01:25:28 +08:00
lanvent
d6037422ac decouple message processing process 2023-03-12 00:58:49 +08:00
lanvent
38c8ceba12 avoid repeatedly instantiating bot 2023-03-11 02:51:07 +08:00
zhayujie
8fa4041fc2 fix: variable name compatibility modification #415 2023-03-10 09:25:56 +08:00
zhayujie
8107165792 fix: variable name compatibility modification 2023-03-10 09:23:58 +08:00
goldfishh
d6c92e1fd5 feature: 消息控制配置热更新 2023-03-09 23:13:53 +08:00
Bachery
8eace7e30e Merge branch 'zhayujie:master' into master 2023-03-08 12:50:15 +01:00
goldfishh
55fe38d5fb fix a minor typo 2023-03-07 22:49:55 +08:00
Bachery
e5ab350bbf support group chat in one seesion 2023-03-06 22:39:40 +01:00
ubuntu
733f9d1f10 fix: tokens limit optimization 2023-03-06 00:51:53 +08:00
zwssunny
5de600c689 修正会话tokens计算 2023-03-05 22:15:15 +08:00
zwssunny
39a5487f39 openai 接口返回token数量来修剪会话长度 2023-03-05 17:46:35 +08:00
zhanws
b154dd7e86 Merge branch 'zhayujie:master' into master 2023-03-05 09:51:08 +08:00
zwssunny
3d4d1c734a 增加会话超长问题 2023-03-05 09:43:59 +08:00
zhayujie
44e5979a03 docs: update README.md 2023-03-05 01:18:46 +08:00