mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-03-19 21:38:18 +08:00
feat(命令): 添加set_gpt_model、set_gpt_model、set_gpt_model 几个命令的使用
This commit is contained in:
@@ -66,7 +66,7 @@ class ChatGPTBot(Bot, OpenAIImage):
|
||||
logger.debug("[CHATGPT] session query={}".format(session.messages))
|
||||
|
||||
api_key = context.get("openai_api_key")
|
||||
|
||||
self.args['model'] = context.get('gpt_model') or "gpt-3.5-turbo"
|
||||
# if context.get('stream'):
|
||||
# # reply in stream
|
||||
# return self.reply_text_stream(query, new_query, session_id)
|
||||
|
||||
Reference in New Issue
Block a user