lewisliuX123 commited on
Commit
c018e63
1 Parent(s): 393eca6

Update bot/chatgpt/chat_gpt_bot.py

Browse files
Files changed (1) hide show
  1. bot/chatgpt/chat_gpt_bot.py +2 -2
bot/chatgpt/chat_gpt_bot.py CHANGED
@@ -11,8 +11,8 @@ user_session = dict()
11
  # OpenAI对话模型API (可用)
12
  class ChatGPTBot(Bot):
13
  def __init__(self):
14
- openai.api_key = conf().get('open_ai_api_key')
15
- openai.api_base="https://apai.zyai.online/v1"
16
 
17
  def reply(self, query, context=None):
18
  # acquire reply content
 
11
  # OpenAI对话模型API (可用)
12
  class ChatGPTBot(Bot):
13
  def __init__(self):
14
+ openai.api_key = 'none'
15
+ openai.api_base="http://i-1.gpushare.com:16398/v1"
16
 
17
  def reply(self, query, context=None):
18
  # acquire reply content