From 90ecc2efffd04d6ba94b7443bee2a557b2d7bee4 Mon Sep 17 00:00:00 2001 From: Archkon <180910180+Archkon@users.noreply.github.com> Date: Sat, 21 Dec 2024 15:51:06 +0800 Subject: [PATCH] Update chat_models.py --- libs/partners/xai/langchain_xai/chat_models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/partners/xai/langchain_xai/chat_models.py b/libs/partners/xai/langchain_xai/chat_models.py index 7fd99b2aca1cb..f4fb5904a9c15 100644 --- a/libs/partners/xai/langchain_xai/chat_models.py +++ b/libs/partners/xai/langchain_xai/chat_models.py @@ -267,6 +267,7 @@ class Joke(BaseModel): model_config = ConfigDict( populate_by_name=True, + extra="forbid" ) @property