瀏覽代碼

fix: update client sdk version

master
zhayujie 6 月之前
父節點
當前提交
27e507e744
共有 2 個檔案被更改,包括 2 行新增3 行删除
  1. +1
    -2
      common/linkai_client.py
  2. +1
    -1
      requirements.txt

+ 1
- 2
common/linkai_client.py 查看文件

@@ -59,8 +59,7 @@ class ChatClient(LinkAIClient):

def start(channel):
global chat_client
chat_client = ChatClient(api_key=conf().get("linkai_api_key"),
host="link-ai.chat", channel=channel)
chat_client = ChatClient(api_key=conf().get("linkai_api_key"), host="", channel=channel)
chat_client.config = _build_config()
chat_client.start()
time.sleep(1.5)


+ 1
- 1
requirements.txt 查看文件

@@ -7,4 +7,4 @@ chardet>=5.1.0
Pillow
pre-commit
web.py
linkai>=0.0.5.0
linkai>=0.0.6.0

Loading…
取消
儲存