Skip to content

Commit

Permalink
Update chat_models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Archkon authored Dec 21, 2024
1 parent 90ecc2e commit 6300907
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/partners/xai/langchain_xai/chat_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ class Joke(BaseModel):

model_config = ConfigDict(
populate_by_name=True,
extra="forbid"
extra="forbid",
json_excludes={"openai_api_key"}
)

@property
Expand Down

0 comments on commit 6300907

Please sign in to comment.