From dc56d5604c3950b97ca91b753b091c40853bfdb2 Mon Sep 17 00:00:00 2001 From: David Tam Date: Wed, 25 Sep 2024 10:41:30 -0700 Subject: [PATCH] update message to clarify token usage --- guardrails/cli/server/hub_client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guardrails/cli/server/hub_client.py b/guardrails/cli/server/hub_client.py index 05ada5a5e..203deea61 100644 --- a/guardrails/cli/server/hub_client.py +++ b/guardrails/cli/server/hub_client.py @@ -20,7 +20,8 @@ to update your token. {FIND_NEW_TOKEN}""" TOKEN_INVALID_MESSAGE = f"""Your token is invalid. Please run `guardrails configure`\ -to update your token. +to update your token. The token is only required to install validators and run remote \ +inference. It is not needed for local validation. {FIND_NEW_TOKEN}""" VALIDATOR_HUB_SERVICE = os.getenv(