add: 增加查看当前使用的ai平台命令
add: 增加查看info命令
This commit is contained in:
@@ -217,7 +217,7 @@ class AiBotPlugin(AbsExtraConfigPlugin):
|
|||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
self.config.cur_platform = argus
|
self.config.cur_platform = argus
|
||||||
self.config.cur_model = self.config['platforms'][argus.split("#")[1]]['model']
|
self.config.cur_model = self.config['platforms'][argus.split("#")[0]]['model']
|
||||||
await event.react("✅")
|
await event.react("✅")
|
||||||
# 如果是openai或者是claude
|
# 如果是openai或者是claude
|
||||||
elif argus == 'openai' or argus == 'anthropic':
|
elif argus == 'openai' or argus == 'anthropic':
|
||||||
|
|||||||
Reference in New Issue
Block a user