Rock Chin
|
651b291ef6
|
doc: 添加部分注释
|
2023-03-05 15:39:13 +08:00 |
|
LINSTCL
|
1048ca612d
|
补充错误情况
|
2023-03-05 14:06:07 +08:00 |
|
LINSTCL
|
b1a2d21ee9
|
优化异常处理
|
2023-03-05 13:52:43 +08:00 |
|
Rock Chin
|
dd4e8bdc8b
|
perf: 优化版本识别逻辑
|
2023-03-05 12:26:51 +08:00 |
|
Rock Chin
|
e28c9bae0c
|
feat: 修改上报功能识别版本的逻辑
|
2023-03-05 12:21:28 +08:00 |
|
Rock Chin
|
f8abe90674
|
perf: 完善更新检查功能
|
2023-03-05 12:09:44 +08:00 |
|
Rock Chin
|
964ad42cb4
|
perf: 完善更新提示
|
2023-03-05 12:02:59 +08:00 |
|
Rock Chin
|
792366e221
|
feat: 支持基于语义化版本的自动更新
|
2023-03-05 11:56:40 +08:00 |
|
Rock Chin
|
9a7490bc2f
|
feat: 支持拒绝回复包含敏感词的提问 (#210)
|
2023-03-05 10:49:07 +08:00 |
|
Rock Chin
|
a610a9d3d3
|
fix: 无法根据ban_person忽略群内指定人消息 (#211)
|
2023-03-05 10:33:16 +08:00 |
|
Rock Chin
|
101f26e5a3
|
Merge pull request #212 from Haibersut/feat-baiducloud
增加百度云内容审核
|
2023-03-05 10:13:20 +08:00 |
|
Rock Chin
|
cc3beb191f
|
fix: 百度云审核的配置低版本兼容
|
2023-03-05 09:54:44 +08:00 |
|
Haibersut
|
42f5092bb9
|
更新了日记级别
将错误信息调整为warning
|
2023-03-05 01:45:36 +08:00 |
|
Haibersut
|
bc6728d123
|
根据建议修改
|
2023-03-05 01:17:23 +08:00 |
|
Rock Chin
|
c9c980b6fe
|
Merge pull request #203 from RockChinQ/blob_message_strategy
[Feature] 长消息处理策略
|
2023-03-04 23:53:54 +08:00 |
|
Rock Chin
|
a457d13d2c
|
perf: 优化图片渲染
|
2023-03-04 23:53:22 +08:00 |
|
Rock Chin
|
7440e9e5d2
|
fix(blob.py): 错误的图片压缩处理
|
2023-03-04 21:36:07 +08:00 |
|
Rock Chin
|
39d901a5cb
|
feat: 支持将长消息转换成图片进行回复
|
2023-03-04 21:14:10 +08:00 |
|
Haibersut
|
2e1ebff985
|
change value name
|
2023-03-04 21:12:50 +08:00 |
|
Haibersut
|
480d201c55
|
增加百度云内容审核
|
2023-03-04 21:02:10 +08:00 |
|
Rock Chin
|
a4b7d4a012
|
feat: 支持将长消息转换成转发消息组件发送
|
2023-03-04 13:53:18 +08:00 |
|
Rock Chin
|
a4d73090f8
|
feat: 默认在启动时更新openai依赖库
|
2023-03-04 10:16:47 +08:00 |
|
Rock Chin
|
f1e12563e9
|
feat(gather.py): 未设置版本时默认为undetermined
|
2023-03-03 21:15:26 +08:00 |
|
Rock Chin
|
0ac5e5b35e
|
fix(session.py): 错误的undo()方法逻辑
|
2023-03-03 21:13:31 +08:00 |
|
LINSTCL
|
c23d114094
|
proxy后向兼容,修复部分报错
|
2023-03-03 15:20:42 +08:00 |
|
LINSTCL
|
c57642bd4e
|
添加proxy代理功能
|
2023-03-03 14:12:53 +08:00 |
|
Rock Chin
|
a1c167fb7f
|
feat: 功能完成
|
2023-03-03 00:21:16 +08:00 |
|
Rock Chin
|
adc2290fc1
|
Merge branch 'new-model-abstract' of https://github.com/LINSTCL/QChatGPT into new-model-abstract
|
2023-03-03 00:11:06 +08:00 |
|
Rock Chin
|
8713fd8130
|
feat: 完善会话处理的逻辑
|
2023-03-03 00:07:53 +08:00 |
|
LINSTCL
|
77df3d1ae5
|
修复使用文本完成模型生成对话型文本时输出随机AI名的问题
|
2023-03-02 23:50:51 +08:00 |
|
LINSTCL
|
2234e9db0e
|
修改对话拼接逻辑
|
2023-03-02 23:25:42 +08:00 |
|
Rock Chin
|
dd3d403de8
|
feat(modelmgr.py): 模型列表
|
2023-03-02 23:20:28 +08:00 |
|
Rock Chin
|
5364c36a79
|
feat(session.py): prompt默认值改为[]
|
2023-03-02 22:42:07 +08:00 |
|
Rock Chin
|
118fbe3f7d
|
perf(modelmgr.py): 类名称强调其为一个请求对象
|
2023-03-02 19:50:31 +08:00 |
|
LINSTCL
|
19289527ae
|
旧版本数据库兼容
|
2023-03-02 19:40:36 +08:00 |
|
Rock Chin
|
f7830b5e9d
|
feat(modelmgr.py): 完善可选模型列表
|
2023-03-02 17:57:39 +08:00 |
|
LINSTCL
|
13e5d76a44
|
修复模型切换角色改变引起的BUG
|
2023-03-02 16:52:23 +08:00 |
|
LINSTCL
|
7b8ad2e315
|
修复模型切换角色改变引起的BUG
|
2023-03-02 16:47:50 +08:00 |
|
Rock Chin
|
623f094e5b
|
doc: 添加注释;完善格式
|
2023-03-02 16:41:03 +08:00 |
|
LINSTCL
|
fd25d61b56
|
重构了模型抽象,用来更好的支持gpt-3.5-turbo
|
2023-03-02 15:31:12 +08:00 |
|
Rock Chin
|
cbab824fd0
|
feat(!usage): 支持查看账户额度剩余
|
2023-02-28 10:38:25 +08:00 |
|
Rock Chin
|
0c3d911e74
|
feat: 完善黑名单机制 (#191)
|
2023-02-27 05:57:45 +00:00 |
|
Rock Chin
|
4984896c95
|
feat: 改为在main流程中读取文件中的情景预设
|
2023-02-26 02:37:41 +00:00 |
|
Rock Chin
|
28d1f5ead9
|
fix: 插件执行时不正确的逻辑
|
2023-02-25 20:29:21 +08:00 |
|
Rock Chin
|
5ada507c2b
|
feat: 支持使用文件存放情景预设 (#167)
|
2023-02-25 17:05:39 +08:00 |
|
Rock Chin
|
173f05a8ae
|
feat: 增加多管理员支持 (#178)
|
2023-02-25 15:39:31 +08:00 |
|
Rock Chin
|
bf1896f959
|
fix(process): 判断消息类型时的数组越界风险
|
2023-02-25 10:47:52 +08:00 |
|
Rock Chin
|
e7c79a5156
|
feat: 限制机器人回复的频率 (#72)
|
2023-02-25 00:27:14 +08:00 |
|
Rock Chin
|
6b1b69c741
|
feat: 对接收到的消息文字进行strip (#174)
|
2023-02-24 17:30:03 +08:00 |
|
Rock Chin
|
352930694a
|
feat: 支持忽略指定格式的消息 (#165)
|
2023-02-23 10:02:55 +08:00 |
|
Rock Chin
|
215ed7ab0e
|
feat: 动态使用消息处理超时时间以便其在运行时可修改 (#172)
|
2023-02-22 23:37:13 +08:00 |
|
Rock Chin
|
2da5883d7a
|
feat: 不使用3.9的语法以兼容3.8
|
2023-02-22 13:12:51 +08:00 |
|
Rock Chin
|
d0bcf6940a
|
feat: 支持多场景预设切换
|
2023-02-19 11:46:12 +08:00 |
|
Rock Chin
|
e873d81b63
|
feat: requirements依赖解决方法加上--upgrade参数
|
2023-02-17 18:25:28 +08:00 |
|
Rock Chin
|
731dedf155
|
perf: !plugin指令按照顺序输出
|
2023-02-15 13:32:15 +08:00 |
|
Rock Chin
|
d56163b19b
|
fix: 删除插件之后错误的顺序刷新逻辑
|
2023-02-14 18:30:55 +08:00 |
|
Rock Chin
|
3c08741cb6
|
feat: 支持在settings.json中设置插件顺序 (#133) (#109)
|
2023-02-14 17:57:38 +08:00 |
|
Rock Chin
|
13f31d3fae
|
perf: 插件加载失败时仍不影响后序操作
|
2023-02-12 13:15:33 +08:00 |
|
Rock Chin
|
d72c364962
|
feat: 赞赏码发送
|
2023-02-10 19:03:25 +08:00 |
|
Rock Chin
|
d3a6928e3a
|
fix: 异常输出中多余的[bot]
|
2023-02-09 15:06:47 +08:00 |
|
Rock Chin
|
8b2128b4dc
|
perf: 异常输出信息
|
2023-02-09 15:05:00 +08:00 |
|
Rock Chin
|
0773490c77
|
perf: The server had错误时重试
|
2023-02-09 14:33:24 +08:00 |
|
Rock Chin
|
aaf72de552
|
fix: 执行pip的操作后未重置logging
|
2023-02-08 17:07:20 +08:00 |
|
Rock Chin
|
65664ae178
|
feat: 支持设置不向用户展示异常详细信息
|
2023-02-08 17:06:54 +08:00 |
|
Rock Chin
|
b733f8f55b
|
perf: 添加对completion_api_params中engine参数值的统计支持
|
2023-02-05 16:01:13 +08:00 |
|
Rock Chin
|
b7ae1fa516
|
fix: 修复错误的使用量计算方式
|
2023-02-05 15:12:54 +08:00 |
|
Rock Chin
|
64c587c17d
|
fix(process.py): 触发事件时错误的管理员判断逻辑
|
2023-02-03 14:15:40 +08:00 |
|
Rock Chin
|
133d8bbeef
|
fix(session.py): 预设值为空时错误的默认prompt
|
2023-02-03 13:06:16 +08:00 |
|
Rock Chin
|
3ed9f1a532
|
perf(qqbot): server overload报错时重试
|
2023-01-25 23:07:31 +08:00 |
|
Rock Chin
|
99282100a0
|
fix(qqbot): 超额误判问题 (#106)
|
2023-01-25 22:51:09 +08:00 |
|
Rock Chin
|
057d8a05d7
|
fix(qqbot): 群消息超时不重试的问题
|
2023-01-25 22:43:49 +08:00 |
|
Rock Chin
|
2b20d946e6
|
perf: 优化!plugin指令的输出格式
|
2023-01-18 15:26:35 +08:00 |
|
Rock Chin
|
3c96e1298c
|
fix: 错误的回复消息类型判断
|
2023-01-17 21:21:35 +08:00 |
|
Rock Chin
|
2894309fa6
|
perf: 优化插件管理
|
2023-01-17 15:43:28 +08:00 |
|
Rock Chin
|
ba2c362082
|
fix: 更新插件后多余的'[bot]'
|
2023-01-17 14:32:20 +08:00 |
|
Rock Chin
|
2319c7eae2
|
fix: 非源码拉取安装的plugin源码地址输出错误
|
2023-01-17 14:11:58 +08:00 |
|
Rock Chin
|
20bdc7de58
|
feat: 插件更新之后安装依赖
|
2023-01-17 12:54:27 +08:00 |
|
Rock Chin
|
690e542f37
|
feat: 支持更新插件
|
2023-01-17 12:35:40 +08:00 |
|
Rock Chin
|
33f80c8d16
|
feat: !plugin指令展示源码地址
|
2023-01-17 12:30:45 +08:00 |
|
Rock Chin
|
e01cc09a28
|
feat(plugin): 新的__init__标准
|
2023-01-17 12:07:08 +08:00 |
|
Rock Chin
|
120ec98ba7
|
feat: 支持从储存库获取插件
|
2023-01-17 11:54:33 +08:00 |
|
Rock Chin
|
6af55d8a1d
|
feat: 基本插件指令
|
2023-01-17 00:11:07 +08:00 |
|
Rock Chin
|
08d86dbd30
|
fix: 插件开关相关bug
|
2023-01-16 23:47:57 +08:00 |
|
Rock Chin
|
32e8f08398
|
feat: 支持插件开关
|
2023-01-16 23:40:59 +08:00 |
|
Rock Chin
|
78c73def8a
|
feat: 调用pip解决依赖
|
2023-01-16 21:34:35 +08:00 |
|
Rock Chin
|
82d845b5c8
|
feat: 完善调用事件时的输出
|
2023-01-16 19:15:54 +08:00 |
|
Rock Chin
|
40fd9b0579
|
doc: 添加部分注释
|
2023-01-16 18:00:30 +08:00 |
|
Rock Chin
|
fd27a7c999
|
perf: 完善事件处理
|
2023-01-15 22:41:47 +08:00 |
|
Rock Chin
|
37153e7360
|
feat: 支持插件热重载
|
2023-01-15 22:23:18 +08:00 |
|
Rock Chin
|
f06b16437c
|
fix: 修复返回值获取时的bug
|
2023-01-15 21:13:44 +08:00 |
|
Rock Chin
|
e582780195
|
feat: 支持多个事件的返回值
|
2023-01-15 20:37:23 +08:00 |
|
Rock Chin
|
df9e89deb7
|
feat: 支持NormalMessageResponded事件
|
2023-01-15 13:57:05 +08:00 |
|
Rock Chin
|
023ed21363
|
feat: 在PluginHost中提供消息发送方法
|
2023-01-15 00:04:47 +08:00 |
|
Rock Chin
|
52d6721ae2
|
feat: 将事件名称统一为 名词+动词 形式
|
2023-01-14 23:35:03 +08:00 |
|
Rock Chin
|
fa967c3c89
|
feat: 增加对插件钩子返回值的支持
|
2023-01-14 22:53:28 +08:00 |
|
Rock Chin
|
6d81821557
|
feat(plugin): 支持多个事件
|
2023-01-14 22:37:16 +08:00 |
|
Rock Chin
|
56664f9fbc
|
refactor(qqbot): 独立指令和普通消息处理逻辑
|
2023-01-14 20:34:33 +08:00 |
|
Rock Chin
|
eb1564a3dd
|
feat: 增加prevent_default和prevent_postorder的支持
|
2023-01-14 19:59:51 +08:00 |
|
Rock Chin
|
d5c6d43ddf
|
feat: 完善几个事件的参数
|
2023-01-13 23:26:52 +08:00 |
|
Rock Chin
|
da5b1cf3fa
|
feat: person_message和group_message的事件钩子
|
2023-01-13 23:13:54 +08:00 |
|
Rock Chin
|
78c1ad16ce
|
feat: 基本插件加载功能
|
2023-01-13 16:49:56 +08:00 |
|
Rock Chin
|
9962a6ebcc
|
feat(keymgr.py): 热重载后重置超额记录
|
2023-01-13 15:34:28 +08:00 |
|
Rock Chin
|
36def20a07
|
debug: RateLimitError时以debug输出异常对象类型
|
2023-01-12 14:37:42 +08:00 |
|
Rock Chin
|
c7689d3c89
|
feat: 不再向openai completion api提供timeout参数
|
2023-01-11 12:22:11 +08:00 |
|
Rock Chin
|
dfa8621a1a
|
feat: 完全删除费用估算功能 (#81) (#96)
|
2023-01-10 14:54:50 +08:00 |
|
Rock Chin
|
f884313d72
|
perf: 优化导入
|
2023-01-09 22:19:37 +08:00 |
|
Rock Chin
|
7afe5f39bf
|
fix: 群内消息不回复的问题 (#94)
|
2023-01-09 21:15:13 +08:00 |
|
Rock Chin
|
77bf1c7d8e
|
Merge branch 'master' into program-level-restriction
|
2023-01-09 12:26:51 +08:00 |
|
Rock Chin
|
9d31d8b071
|
perf: 超额时的提示信息
|
2023-01-08 20:43:37 +08:00 |
|
Rock Chin
|
5256d3c718
|
debug: 删除上报调试信息
|
2023-01-08 16:33:33 +08:00 |
|
Rock Chin
|
c662e2c4e3
|
fix: url过长导致的上报失败
|
2023-01-08 16:32:27 +08:00 |
|
Rock Chin
|
06264354cf
|
fix: 超时不重试的问题 (#91)
|
2023-01-08 14:49:23 +08:00 |
|
Rock Chin
|
2dcbe87986
|
feat: 函数超时时控制台输出警告
|
2023-01-07 23:26:22 +08:00 |
|
Rock Chin
|
bf7487fafe
|
feat: 支持禁用某人或某群
|
2023-01-07 16:50:34 +08:00 |
|
Rock Chin
|
0afc2d5903
|
fix: 过长url导致的上报失败
|
2023-01-07 00:25:03 +08:00 |
|
Rock Chin
|
2d62b5937e
|
feat: 支持!resend指令重新回复上一个问题 (#87)
|
2023-01-07 00:08:22 +08:00 |
|
Rock Chin
|
97ddb10ff5
|
fix: main.py中错误的预引用顺序
|
2023-01-06 13:50:45 +08:00 |
|
Rock Chin
|
bd920cedf5
|
feat: 输出版本时检查是否有新版
|
2023-01-05 21:07:17 +08:00 |
|
Rock Chin
|
ee76929fee
|
perf: 更新时的通知逻辑
|
2023-01-05 21:04:52 +08:00 |
|
Rock Chin
|
8bb8a72060
|
perf: 更新内容通知的逻辑
|
2023-01-05 21:01:37 +08:00 |
|
Rock Chin
|
dcc5d40a04
|
feat: 更新之后通知管理员提交记录
|
2023-01-05 21:00:17 +08:00 |
|
Rock Chin
|
3bebeb4d99
|
feat: 启动时检查是否有新版本并通知管理员
|
2023-01-05 20:52:59 +08:00 |
|
Rock Chin
|
7ca8dcfb6a
|
perf: 进行更新时提示耐心等待
|
2023-01-05 15:52:45 +08:00 |
|
Rock Chin
|
948b0f4df9
|
feat: 上报时包含版本信息
|
2023-01-05 15:50:45 +08:00 |
|
Rock Chin
|
584cacba6c
|
fix: !version时间显示根据时区转换
|
2023-01-05 15:41:13 +08:00 |
|
Rock Chin
|
45ed06be64
|
fix: !version时间显示为commit_time
|
2023-01-05 15:35:29 +08:00 |
|
Rock Chin
|
3dec627d40
|
feat: 增加!version指令
|
2023-01-05 15:34:14 +08:00 |
|
Rock Chin
|
35854bc81c
|
feat: 支持!~形式的配置修改指令 #71
|
2023-01-04 22:24:40 +08:00 |
|
Rock Chin
|
07923f71bd
|
feat: 支持聊天窗管理员修改运行时配置项
|
2023-01-04 21:46:01 +08:00 |
|
Rock Chin
|
1015c6fa1f
|
feat: 上报使用量信息时的异常处理
|
2023-01-04 18:10:49 +08:00 |
|
Rock Chin
|
013a9def25
|
feat: 上报使用量信息
|
2023-01-04 17:59:10 +08:00 |
|
Rock Chin
|
95ad911a6c
|
feat: 运行时原动态引入config的地方现在均使用初始化时导入的config对象
|
2023-01-04 17:09:57 +08:00 |
|
Rock Chin
|
b318f6d4f0
|
perf: 完善启动时的Troubleshooting信息 #84
|
2023-01-04 12:02:56 +08:00 |
|
Rock Chin
|
de869c3df8
|
doc: 在README.md链接wiki
|
2023-01-03 20:11:05 +08:00 |
|
Rock Chin
|
f49262d98c
|
perf: !usage指令的显示
|
2023-01-03 17:54:54 +08:00 |
|
Rock Chin
|
e06a2535dd
|
feat: 新增使用量统计功能,与key切换脱钩
|
2023-01-03 17:50:13 +08:00 |
|
Rock Chin
|
b9250908c8
|
feat: 使用量估算值不再与key切换挂钩,现在仅根据接口报错进行切换
|
2023-01-03 00:02:18 +08:00 |
|
Rock Chin
|
2e3befea54
|
feat: 超额报错时不再将当前使用量设置为最大值
|
2023-01-02 23:17:57 +08:00 |
|
Rock Chin
|
36c8a5846d
|
feat: 现在默认不自动根据估算的费用切换apikey
|
2023-01-02 21:03:02 +08:00 |
|
Rock Chin
|
8aa1dd24ac
|
debug: 添加上报费用的debug信息
|
2023-01-02 20:42:08 +08:00 |
|
Rock Chin
|
b73c0e7438
|
perf: 优化导入
|
2023-01-02 13:43:12 +08:00 |
|
Rock Chin
|
0dc7781325
|
fix: updater中错误的dulwich预引用
|
2023-01-02 13:37:28 +08:00 |
|
Rock Chin
|
cd8d03e8ff
|
feat: 更新完成的提示信息
|
2023-01-02 13:28:32 +08:00 |
|
Rock Chin
|
a93f681913
|
test: 删除热更新测试代码
|
2023-01-02 13:25:19 +08:00 |
|
Rock Chin
|
4dac9ac067
|
test: 测试热更新
|
2023-01-02 13:24:19 +08:00 |
|
Rock Chin
|
85471fd0df
|
doc: 添加热重载相关注释
|
2023-01-02 13:06:48 +08:00 |
|
Rock Chin
|
f5bf012ba7
|
perf: 自动更新失败时提示手动更新方法
|
2023-01-02 12:56:52 +08:00 |
|
Rock Chin
|
27dbd470a7
|
perf: 自动更新时的异常处理
|
2023-01-02 12:54:51 +08:00 |
|
Rock Chin
|
3b5bc5e857
|
feat: 提示未知指令
|
2023-01-02 12:46:38 +08:00 |
|
Rock Chin
|
61cd2bfff3
|
perf: 完善重载后的启动流程
|
2023-01-02 12:00:10 +08:00 |
|