chordfish
|
d53f4e3917
|
adjust:修改,去除neko.json,以及一些占位的变量等
|
2023-03-10 19:37:29 +08:00 |
|
chordfish
|
8916b8a450
|
Update manager.py
|
2023-03-10 16:17:07 +08:00 |
|
chordfish
|
c94a9e1ae6
|
bug:修复上次更新后不响应的问题
|
2023-03-10 13:55:56 +08:00 |
|
chordfish
|
e2e93afd06
|
bug:修复上次更新后不响应的问题
|
2023-03-10 13:03:25 +08:00 |
|
chordfish
|
a810158d5b
|
bug:修复上次更新后不响应的问题
|
2023-03-10 12:43:07 +08:00 |
|
chordfish
|
5a5ebb95fc
|
bug:修复上次更新后不响应的问题
|
2023-03-10 12:35:58 +08:00 |
|
chordfish
|
ac65d81ba1
|
adjust:整理代码,仅添加json方式的prompt读取
|
2023-03-10 10:13:40 +08:00 |
|
chordfish
|
7477c7c67f
|
删除一部分注释和调试内容
|
2023-03-09 21:16:15 +08:00 |
|
chordfish
|
85d46089e3
|
已按要求修改
|
2023-03-09 19:53:31 +08:00 |
|
chordfish
|
3b55f706de
|
修正防人格否定的一个Bug
|
2023-03-09 19:22:37 +08:00 |
|
chordfish
|
830ee704da
|
Bug修复
|
2023-03-09 18:32:39 +08:00 |
|
chordfish
|
393369e446
|
Merge branch 'master' of https://github.com/chordfish-k/QChatGPT
|
2023-03-09 18:29:37 +08:00 |
|
chordfish
|
2cc6a09905
|
Bug修复
|
2023-03-09 18:29:31 +08:00 |
|
chordfish
|
d7d9d88e16
|
适配线程版本
|
2023-03-09 17:56:57 +08:00 |
|
chordfish
|
12a0942ddb
|
初步追加通过json导入messages数组的方式进行情景预设
|
2023-03-09 14:44:33 +08:00 |
|
LINSTCL
|
e0caeb5dd2
|
Fix bugs
|
2023-03-08 16:08:09 +08:00 |
|
LINSTCL
|
77076f3bdd
|
添加线程控制类,修改main结构,修改启动流程
|
2023-03-08 15:21:37 +08:00 |
|
Rock Chin
|
2933d4843f
|
Release v2.1.4
|
2023-03-07 08:50:43 +08:00 |
|
Rock Chin
|
2b2060e71b
|
feat: 支持设置不响应群内at消息;支持设置随机响应概率
|
2023-03-06 17:50:34 +08:00 |
|
Rock Chin
|
d993852de7
|
feat: 支持将敏感词替换成整个字符串
|
2023-03-06 15:26:06 +08:00 |
|
Rock Chin
|
9d73770a4e
|
feat: 支持更换敏感词的掩盖字符
|
2023-03-06 15:07:10 +08:00 |
|
Rock Chin
|
2541acf9d2
|
fix: 赞赏码base64值错误
|
2023-03-06 14:16:25 +08:00 |
|
Rock Chin
|
a1bfbad24e
|
Release v2.1.3
|
2023-03-06 12:41:35 +08:00 |
|
Rock Chin
|
9e28298250
|
perf: 完善未启动情况下的自动更新
|
2023-03-06 11:18:31 +08:00 |
|
Rock Chin
|
7a04ef0985
|
feat: 未启动状态下的自动更新 (#223)
|
2023-03-06 11:04:25 +08:00 |
|
Rock Chin
|
f0c78f0529
|
Merge pull request #222 from LINSTCL/threadpool-optimization
使用线程池控制线程数量,防止高并发崩溃
|
2023-03-06 08:51:47 +08:00 |
|
Rock Chin
|
3f638adcf9
|
perf(qqbot/manager.py): 优化控制台日志显示
|
2023-03-06 08:50:28 +08:00 |
|
Rock Chin
|
61c29829ed
|
Release v2.1.2
|
2023-03-06 08:35:04 +08:00 |
|
Rock Chin
|
5afcc03e8b
|
fix: 错误的!version指令处理逻辑
|
2023-03-05 20:07:08 +08:00 |
|
Rock Chin
|
4aba319560
|
fix: 错误的加载过程
|
2023-03-05 19:57:39 +08:00 |
|
Rock Chin
|
74f79e002c
|
perf: 优化字体加载过程
|
2023-03-05 19:54:51 +08:00 |
|
Rock Chin
|
2668ef2b3f
|
feat: 不再自带字体文件
|
2023-03-05 19:36:09 +08:00 |
|
LINSTCL
|
59877bf71d
|
添加日志输出
|
2023-03-05 16:47:07 +08:00 |
|
LINSTCL
|
d2800ac58b
|
使用线程池控制线程数量,防止高并发崩溃
|
2023-03-05 16:41:12 +08:00 |
|
Rock Chin
|
ffef944119
|
fix: 热重载后插件开关状态被重置 (#177)
|
2023-03-05 16:04:45 +08:00 |
|
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 |
|
Rock Chin
|
14154bafd0
|
feat: 热重载前后更新bot事件订阅
|
2023-01-02 11:33:26 +08:00 |
|
Rock Chin
|
bc3cffa041
|
fix: 重载启动新的bot线程导致原线程中止
|
2023-01-02 11:06:04 +08:00 |
|
Rock Chin
|
16d7cc7d18
|
feat: 持久保存bot对象以成功重启
|
2023-01-02 00:35:36 +08:00 |
|
Rock Chin
|
91e13e6128
|
fix: 群消息超时时未释放锁造成死锁
|
2023-01-02 00:11:10 +08:00 |
|
Rock Chin
|
82e3ef6497
|
feat: 重载后恢复诸个单例对象
|
2023-01-01 23:18:32 +08:00 |
|
Rock Chin
|
7e83ba3f77
|
feat: 支持指令操作热更新和热重载
|
2023-01-01 22:55:09 +08:00 |
|
Rock Chin
|
3b1a72358e
|
feat: 热更新和热重载功能
|
2023-01-01 22:52:27 +08:00 |
|
Rock Chin
|
987a2d2fb3
|
fix: 私聊不可用 #74
|
2023-01-01 19:19:04 +08:00 |
|
Rock Chin
|
e2441165c9
|
feat: 被禁言时不处理消息 #62
|
2023-01-01 18:27:34 +08:00 |
|
Rock Chin
|
b085c133bf
|
feat: 支持设置回复时引用原消息 #73
|
2023-01-01 17:20:54 +08:00 |
|
Rock Chin
|
88ec74c0a4
|
perf: 回复图片时带上prompt #70
|
2022-12-31 00:06:10 +08:00 |
|
Rock Chin
|
35992397e6
|
fix(keymgr.py): 不正确的keyname索引方式
|
2022-12-29 11:30:43 +08:00 |
|
Rock Chin
|
b2ee62646c
|
perf: 修改成美元
|
2022-12-28 00:14:41 +08:00 |
|
Rock Chin
|
dbcacdefc3
|
perf: 更加精细的费用记录
|
2022-12-28 00:11:25 +08:00 |
|
Rock Chin
|
0b7d9a4a46
|
perf: 删除过时的usage相关字段
|
2022-12-28 00:06:41 +08:00 |
|
Rock Chin
|
7ed558056f
|
feat: 使用费用估算替代字数额度估算 #47
|
2022-12-28 00:05:25 +08:00 |
|
Rock Chin
|
7b5d47a2ca
|
perf: 回复图片时控制台输出
|
2022-12-27 23:01:04 +08:00 |
|
Rock Chin
|
74fb8ef15c
|
feat: 初步支持绘图api
|
2022-12-27 22:52:53 +08:00 |
|
Rock Chin
|
4de70abf47
|
perf: The server is overloaded or not ready yet.时进行中文提示 #59
|
2022-12-26 23:59:45 +08:00 |
|
Rock Chin
|
5c0cd841f9
|
feat: process_message函数现在返回消息链
|
2022-12-26 23:53:56 +08:00 |
|
Rock Chin
|
502082aa15
|
fix: 只有一个apikey并过期切换时不停输出apikey值
|
2022-12-26 20:56:52 +08:00 |
|
Rock Chin
|
043b2f0198
|
refactor: 独立消息处理函数
|
2022-12-26 19:37:25 +08:00 |
|
Rock Chin
|
c21639ce3a
|
perf: 更加准确的字数估算
|
2022-12-25 18:58:57 +08:00 |
|
Rock Chin
|
0ab1bc0567
|
fix: 预设值不生效 #54
|
2022-12-23 13:59:35 +08:00 |
|
Rock Chin
|
8a8cfdf192
|
perf: 完善key管理
|
2022-12-23 12:07:56 +08:00 |
|
Rock Chin
|
4d17c8362e
|
feat: 使用WSAdapter作为yirimirai默认适配器
|
2022-12-21 14:17:57 +08:00 |
|
hissin
|
c886f912ed
|
在config.py配置主人/机器人名字
|
2022-12-20 23:30:54 +08:00 |
|
hissin
|
af76364619
|
增加多适配器支持,用于ws通道冲突时可用http适配器
|
2022-12-20 22:29:24 +08:00 |
|
Rock Chin
|
20aebd6d30
|
fix: 超额切换时未修改openai库的api_key
|
2022-12-19 22:52:52 +08:00 |
|
Rock Chin
|
b1d40b1628
|
debug: 请求时debug输出api_key
|
2022-12-19 22:51:56 +08:00 |
|
Rock Chin
|
7479c34621
|
fix: 输出!list时错误的字符删除
|
2022-12-19 22:47:20 +08:00 |
|
Rock Chin
|
1f5329edc9
|
perf: 完善响应机制
|
2022-12-19 17:25:09 +08:00 |
|
Rock Chin
|
eada778ab5
|
fix: 从消息链中移除at me前进行检查
|
2022-12-19 17:19:09 +08:00 |
|
Rock Chin
|
23df6c0707
|
fix: 匹配成功直接返回原文字
|
2022-12-19 17:17:49 +08:00 |
|
Rock Chin
|
d762fea382
|
debug: 输出正则表达式匹配结果
|
2022-12-19 17:16:34 +08:00 |
|
Rock Chin
|
0227ff0329
|
fix: 匹配规则的内容检查
|
2022-12-19 17:15:17 +08:00 |
|
Rock Chin
|
42a85ddbb1
|
feat: 群内支持不at机器人也能响应
|
2022-12-19 17:07:31 +08:00 |
|
Rock Chin
|
6120805853
|
perf: 不再支持限制提交的消息的回合数
|
2022-12-19 15:44:37 +08:00 |
|
Rock Chin
|
03a5f15a58
|
fix: !list时会显示预设消息 #48
|
2022-12-18 20:04:39 +08:00 |
|
Rock Chin
|
8c588c5c1d
|
perf: keymgr对已储存的结果取整
|
2022-12-17 18:14:57 +08:00 |
|
Rock Chin
|
816bfc4e47
|
perf: keymgr的比例计算结果取整
|
2022-12-17 18:13:58 +08:00 |
|
Rock Chin
|
a2d34b53de
|
perf: 根据测试修改keymgr统计的文字量比例
|
2022-12-17 17:21:20 +08:00 |
|
Rock Chin
|
f80df933ed
|
feat: 默认apikey使用量阈值更改为900000
|
2022-12-16 23:21:26 +08:00 |
|
Rock Chin
|
cf04d833f9
|
fix: 未经keymgr完整跟踪的key超额问题 #39
|
2022-12-15 23:48:51 +08:00 |
|
Rock Chin
|
135595efae
|
perf: API调用失败时的提示语
|
2022-12-15 21:23:36 +08:00 |
|
Rock Chin
|
795f943d0a
|
perf: 优化usage的显示
|
2022-12-15 18:55:40 +08:00 |
|
Rock Chin
|
5e4d0cb23f
|
feat: 添加usage指令
|
2022-12-15 18:50:15 +08:00 |
|
Rock Chin
|
dbce2e7cb5
|
fix(session.py): 不正确的截取长度
|
2022-12-15 18:40:02 +08:00 |
|
Rock Chin
|
e85422bf4e
|
feat: 加载usage时输出
|
2022-12-15 18:14:17 +08:00 |
|
Rock Chin
|
cc11840dc7
|
fix: 提交keymgr.py
|
2022-12-15 17:59:34 +08:00 |
|
Rock Chin
|
eb4d63dd23
|
feat: 支持多个api-key并支持设置文字量阈值对其进行自动切换
|
2022-12-15 17:52:41 +08:00 |
|
Rock Chin
|
f554ae86ac
|
perf: 可以设置回复时不加前缀 #29
|
2022-12-14 21:49:26 +08:00 |
|
Rock Chin
|
b70a2da2ef
|
perf: 优化线程锁相关操作
|
2022-12-13 16:04:51 +08:00 |
|
Rock Chin
|
9cc649f9f8
|
fix: 多个session共用了同一个锁
|
2022-12-13 13:36:16 +08:00 |
|
Rock Chin
|
edf7415ecf
|
perf: 请求超时时通知管理员
|
2022-12-13 00:45:56 +08:00 |
|
Rock Chin
|
0fa86b8ca6
|
fix: 数据库操作中字符串转义操作造成多个"/" #20
|
2022-12-13 00:38:00 +08:00 |
|
Rock Chin
|
2930455249
|
fix: 错误的互斥锁重置逻辑
|
2022-12-13 00:14:09 +08:00 |
|
Rock Chin
|
5c516dc2a1
|
debug: 先输出再执行SQL
|
2022-12-13 00:06:19 +08:00 |
|
Rock Chin
|
8c4836dde4
|
debug: 输出每个SQL
|
2022-12-12 23:07:15 +08:00 |
|
Rock Chin
|
d93d56d7fb
|
fix: 不正确的配置项验证
|
2022-12-12 22:11:32 +08:00 |
|
Rock Chin
|
e0ea46e893
|
perf: 使用异步流程提高消息处理效率 #18
|
2022-12-12 22:04:38 +08:00 |
|
Rock Chin
|
37a30da068
|
feat:支持预设指令
|
2022-12-12 17:21:37 +08:00 |
|
Rock Chin
|
ce104d15ee
|
fix: 未向模型提交最大回合数
|
2022-12-12 17:21:02 +08:00 |
|
Rock Chin
|
9a7e7d3862
|
fix: 执行命令出错后无法再使用的情况
|
2022-12-12 17:18:50 +08:00 |
|
Rock Chin
|
d9cc39dedb
|
feat: 添加敏感词过滤功能
|
2022-12-11 17:17:33 +08:00 |
|
Rock Chin
|
76b60a781f
|
doc: 添加代码注释
|
2022-12-11 16:10:12 +08:00 |
|
Rock Chin
|
9c7271c1f8
|
feat: 使用SQLite作为数据库
|
2022-12-11 13:58:47 +08:00 |
|
Rock Chin
|
e3442512c4
|
feat: 允许用户在配置文件里更改每次向模型上传的上下文文字量
|
2022-12-10 17:39:02 +08:00 |
|
Rock Chin
|
d45bd83012
|
perf: 完善OpenAI接口异常处理 #1
|
2022-12-10 16:40:05 +08:00 |
|
Rock Chin
|
0bbba54b5d
|
perf: 允许修改帮助信息
|
2022-12-10 00:33:42 +08:00 |
|
Rock Chin
|
f85dacea4c
|
perf: 完善帮助信息
|
2022-12-09 16:25:00 +08:00 |
|
Rock Chin
|
4346645e5f
|
perf: 完善!help消息
|
2022-12-09 16:18:25 +08:00 |
|
Rock Chin
|
39befeee30
|
feat: session过期操作 #2
|
2022-12-09 16:17:50 +08:00 |
|
Rock Chin
|
9b77a2221b
|
feat: 截取prompt提交到API #4
|
2022-12-09 16:17:04 +08:00 |
|
Rock Chin
|
7b17b316a3
|
feat: 部分日志 #3
|
2022-12-09 00:01:49 +08:00 |
|
Rock Chin
|
b39bc076c9
|
fix: 修复processing记录bug
|
2022-12-08 21:58:02 +08:00 |
|
Rock Chin
|
acf6110a85
|
perf: 调用OpenAI时的异常处理
|
2022-12-08 16:52:41 +08:00 |
|
Rock Chin
|
7a4e6d97ef
|
feat: 完成会话管理所有指令
|
2022-12-08 14:28:46 +08:00 |
|
Rock Chin
|
c9547c32eb
|
fix: 修复session维护过程的bug
|
2022-12-08 13:37:33 +08:00 |
|
Rock Chin
|
b06754506a
|
perf: 完善session的维护机制
|
2022-12-08 13:22:54 +08:00 |
|
Rock Chin
|
77ec1c7ff0
|
feat: 完成基本功能
|
2022-12-08 12:06:04 +08:00 |
|
Rock Chin
|
9ca641a2e5
|
feat: 完善session维护代码
|
2022-12-08 00:41:35 +08:00 |
|
Rock Chin
|
da3b964a8c
|
feat: qqbot消息处理基本框架
|
2022-12-07 23:37:52 +08:00 |
|
Rock Chin
|
908cb1634b
|
feat: session基本功能及单测
|
2022-12-07 22:50:49 +08:00 |
|
Rock Chin
|
4303487d32
|
feat: 基本架构
|
2022-12-07 22:27:05 +08:00 |
|