add: TODO 命令行use model继续开发
This commit is contained in:
@@ -147,7 +147,8 @@ class AiBotPlugin(AbsExtraConfigPlugin):
|
|||||||
|
|
||||||
@ai_command.subcommand(help="")
|
@ai_command.subcommand(help="")
|
||||||
@command.argument("argus")
|
@command.argument("argus")
|
||||||
async def model(self, event: MessageEvent, argus: str):
|
@command.argument("argus1")
|
||||||
|
async def model(self, event: MessageEvent, argus: str, argus1):
|
||||||
# 如果是list表示查看当前可以使用的模型列表
|
# 如果是list表示查看当前可以使用的模型列表
|
||||||
if argus == 'list':
|
if argus == 'list':
|
||||||
platform = self.get_ai_platform()
|
platform = self.get_ai_platform()
|
||||||
|
|||||||
Reference in New Issue
Block a user