From 714c1191c4634bcd2c9d21ba3fc764f40a5a1f36 Mon Sep 17 00:00:00 2001 From: Joongi Kim Date: Wed, 28 Feb 2024 18:48:05 +0900 Subject: [PATCH] hotfix: A typo in #1938 --- src/ai/backend/client/config.py | 2 +- src/ai/backend/client/session.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ai/backend/client/config.py b/src/ai/backend/client/config.py index eb41b457cf..0066ecd3cf 100644 --- a/src/ai/backend/client/config.py +++ b/src/ai/backend/client/config.py @@ -39,7 +39,7 @@ class Undefined(enum.Enum): _config = None _undefined = Undefined.token -API_VERSION = (8, "20240615") +API_VERSION = (8, "20240315") MIN_API_VERSION = (7, "20230615") DEFAULT_CHUNK_SIZE = 16 * (2**20) # 16 MiB diff --git a/src/ai/backend/client/session.py b/src/ai/backend/client/session.py index d03d0c6a9e..a04bf9c3fc 100644 --- a/src/ai/backend/client/session.py +++ b/src/ai/backend/client/session.py @@ -68,7 +68,7 @@ async def _negotiate_api_version( ) if server_version < MIN_API_VERSION: warnings.warn( - "The server is too old and does not meet the minimum API version" + "The server is too old ({server_version}) and does not meet the minimum API version" f" requirement: v{MIN_API_VERSION[0]}.{MIN_API_VERSION[1]}\nPlease upgrade" " the server or downgrade/reinstall the client SDK with the same" " major.minor release of the server.",