update: xai增加max_tokens,max_words等参数
This commit is contained in:
@@ -222,7 +222,7 @@ class AiBotPlugin(AbsExtraConfigPlugin):
|
||||
self.config.cur_model = self.config['platforms'][argus.split("#")[0]]['model']
|
||||
await event.react("✅")
|
||||
# 如果是openai或者是claude
|
||||
elif argus == 'openai' or argus == 'anthropic':
|
||||
elif argus == 'openai' or argus == 'anthropic' or argus == 'xai':
|
||||
if argus == self.config.cur_platform:
|
||||
await event.reply(f"current ai platform has be {argus}")
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user