From 0eb67b75dff529e0edbe00e965ff014d1b948f3c Mon Sep 17 00:00:00 2001 From: vbarda Date: Mon, 11 Nov 2024 18:48:51 -0500 Subject: [PATCH] lint --- libs/partners/xai/langchain_xai/chat_models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/partners/xai/langchain_xai/chat_models.py b/libs/partners/xai/langchain_xai/chat_models.py index 8de52386ab644..4bf9af6cab09b 100644 --- a/libs/partners/xai/langchain_xai/chat_models.py +++ b/libs/partners/xai/langchain_xai/chat_models.py @@ -346,7 +346,8 @@ def validate_environment(self) -> Self: if client_params["api_key"] is None: raise ValueError( - "xAI API key is not set. Please set it in the `xai_api_key` field or in the `XAI_API_KEY` environment variable." + "xAI API key is not set. Please set it in the `xai_api_key` field or " + "in the `XAI_API_KEY` environment variable." ) if not (self.client or None):