Browse Source

fix: update client sdk version

master
zhayujie 6 months ago
parent
commit
27e507e744
2 changed files with 2 additions and 3 deletions
  1. +1
    -2
      common/linkai_client.py
  2. +1
    -1
      requirements.txt

+ 1
- 2
common/linkai_client.py View File

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


def start(channel): def start(channel):
global chat_client 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.config = _build_config()
chat_client.start() chat_client.start()
time.sleep(1.5) time.sleep(1.5)


+ 1
- 1
requirements.txt View File

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

Loading…
Cancel
Save