mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
Remove the redundant `lc_attributes` override from `ChatXAI`. The `xai_api_base` field is a declared Pydantic `Field`, so `Serializable.to_json()` already picks it up via its standard field iteration loop (line 225-232 in `serializable.py`). The override was a no-op — it re-inserted the same key with the same value that the base serialization already included.