From 27e507e7447dbfab1575ba229814e57ea1059981 Mon Sep 17 00:00:00 2001 From: zhayujie Date: Fri, 3 May 2024 19:10:27 +0800 Subject: [PATCH] fix: update client sdk version --- common/linkai_client.py | 3 +-- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/common/linkai_client.py b/common/linkai_client.py index 559f7d1..f460773 100644 --- a/common/linkai_client.py +++ b/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) diff --git a/requirements.txt b/requirements.txt index dc2477b..917f36e 100644 --- a/requirements.txt +++ b/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