add: 添加切换模型命令

This commit is contained in:
taylor
2024-10-14 01:00:07 +08:00
parent 79f667aaaa
commit 25f120f18f
3 changed files with 5 additions and 8 deletions

View File

@@ -40,7 +40,7 @@ class Platform:
self.http = http
self.config = config['platforms'][self.get_type()]
self.url = self.config['url']
self.model = self.config['model']
self.model = config._cur_model
self.max_words = self.config['max_words']
self.api_key = self.config['api_key']
self.max_context_messages = self.config['max_context_messages']