RockChinQ
|
665de5dc43
|
refactor: 修改引入风格
|
2023-11-13 21:59:23 +08:00 |
|
RockChinQ
|
c8275fcfbf
|
feat(openai): 支持apikey主动切换策略
|
2023-08-04 17:10:07 +08:00 |
|
Rock Chin
|
58d991df0a
|
Merge pull request #368 from zyckk4/docstring-improvements
[Chore] 统一docstring格式
|
2023-04-03 22:02:11 +08:00 |
|
zyckk4
|
ae831a2654
|
[Fix] 修复一处类型注解的错误
|
2023-04-03 10:13:20 +08:00 |
|
zyckk4
|
ae72cf2283
|
chore: 统一docstring格式
|
2023-04-03 00:19:28 +08:00 |
|
Rock Chin
|
4269c7927e
|
chore: typo
|
2023-03-10 23:14:32 +08:00 |
|
Rock Chin
|
651b291ef6
|
doc: 添加部分注释
|
2023-03-05 15:39:13 +08:00 |
|
Rock Chin
|
6d81821557
|
feat(plugin): 支持多个事件
|
2023-01-14 22:37:16 +08:00 |
|
Rock Chin
|
9962a6ebcc
|
feat(keymgr.py): 热重载后重置超额记录
|
2023-01-13 15:34:28 +08:00 |
|
Rock Chin
|
dfa8621a1a
|
feat: 完全删除费用估算功能 (#81) (#96)
|
2023-01-10 14:54:50 +08:00 |
|
Rock Chin
|
95ad911a6c
|
feat: 运行时原动态引入config的地方现在均使用初始化时导入的config对象
|
2023-01-04 17:09:57 +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
|
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
|
82e3ef6497
|
feat: 重载后恢复诸个单例对象
|
2023-01-01 23:18:32 +08:00 |
|
Rock Chin
|
35992397e6
|
fix(keymgr.py): 不正确的keyname索引方式
|
2022-12-29 11:30:43 +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
|
502082aa15
|
fix: 只有一个apikey并过期切换时不停输出apikey值
|
2022-12-26 20:56:52 +08:00 |
|
Rock Chin
|
c21639ce3a
|
perf: 更加准确的字数估算
|
2022-12-25 18:58:57 +08:00 |
|
Rock Chin
|
8a8cfdf192
|
perf: 完善key管理
|
2022-12-23 12:07:56 +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
|
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 |
|