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.",