Commit Graph

111 Commits

Author SHA1 Message Date
lanvent
3aa2e6a04d fix: caclucate tokens correctly for *0613 models 2023-06-16 00:51:29 +08:00
lanvent
bb737a71d5 feat: update counting tokens for new models 2023-06-14 13:36:07 +08:00
zhayujie
a582a46ce9 fix: call super init 2023-06-12 14:05:47 +08:00
lanvent
b25e843351 feat(link_ai_bot.py): add support for creating images using OpenAI's DALL-E API 2023-06-10 23:52:25 +08:00
lanvent
419a3e518e feat: make plugin compatible with LINKAI in most cases 2023-06-10 23:42:43 +08:00
lanvent
d1b867a7c0 feat: support scene without app code in linkai 2023-06-10 21:28:15 +08:00
lanvent
a33df9312f fix: warning message when using azure model 2023-06-10 11:06:50 +08:00
zhayujie
94c0af3037 feat: support scen without app code 2023-06-08 23:57:59 +08:00
zhayujie
210042bb81 feat: no quota hint and add group qrcode 2023-06-05 23:21:24 +08:00
lanvent
b476085110 fix: custom GPT model bug 2023-05-30 23:42:06 +08:00
zhayujie
3590babd8b fix: config name optimize 2023-05-29 15:52:26 +08:00
zhayujie
50e44dbb2a fix: session save 2023-05-28 22:12:36 +08:00
zhayujie
34277a3940 feat: add app market 2023-05-28 19:08:23 +08:00
Jianglang
9ee0ea88b5 Merge pull request #1089 from taoguoliang/master-fork
feat(命令): 添加set_gpt_model、set_gpt_model、set_gpt_model 几个命令的使用
2023-05-15 23:34:04 +08:00
lichengzhe
2d7dd71a3d Bad Gateway exception retry 2023-05-15 14:04:55 +08:00
lichengzhe
0e8195ae61 Bad Gateway exception retry 2023-05-15 13:55:14 +08:00
taoguoliang
3e92d07618 feat(命令): 添加set_gpt_model、set_gpt_model、set_gpt_model 几个命令的使用 2023-05-13 16:57:02 +08:00
lanvent
3001ba9266 fix: azure dalle generate image 2023-04-28 11:06:17 +08:00
lanvent
b0a401a1ed fix(azure_dalle): use openai.api_base 2023-04-28 10:53:30 +08:00
lanvent
3314b05648 feat: add support for azure dalle 2023-04-27 22:16:42 +08:00
lanvent
9a99caeb9d chore: add fetch_translate method to Bridge class 2023-04-23 05:12:50 +08:00
lanvent
cae12eb187 feat: add baidu translate api 2023-04-23 03:54:16 +08:00
lanvent
618c94edb8 formatting: run precommit on all files 2023-04-22 12:01:29 +08:00
lanvent
abcbb34b1c fix(chat_gpt_bot.py, open_ai_bot.py): increase retry time to 20 seconds when encountering RateLimitError 2023-04-18 14:18:22 +08:00
lanvent
65f20ff2c1 Merge Pull Request #860 into master 2023-04-17 01:24:39 +08:00
lanvent
8f72e8c3e6 formatting code 2023-04-17 01:01:02 +08:00
李超
fc5d3e4e9c feat: Make the size parameter of the resulting picture configurable 2023-04-16 22:31:53 +08:00
lanvent
720de9d73f chore: strip content 2023-04-16 00:47:32 +08:00
lanvent
2dfbc840b3 chore: save model args as a dict 2023-04-13 20:44:08 +08:00
lanvent
2989249e4b chore: add calc_tokens method on session 2023-04-13 20:06:33 +08:00
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