diff --git a/libs/partners/xai/langchain_xai/chat_models.py b/libs/partners/xai/langchain_xai/chat_models.py index 775d22740cd4e..31f742ad00538 100644 --- a/libs/partners/xai/langchain_xai/chat_models.py +++ b/libs/partners/xai/langchain_xai/chat_models.py @@ -252,7 +252,7 @@ class Joke(BaseModel): """ # noqa: E501 - model_name: str = Field(alias="model") + model_name: str = Field(default="grok-beta", alias="model") """Model name to use.""" xai_api_key: Optional[SecretStr] = Field( alias="api_key", @@ -266,7 +266,6 @@ class Joke(BaseModel): """Base URL path for API requests.""" openai_api_key: Optional[SecretStr] = None - openai_api_base: Optional[str] = None model_config = ConfigDict( populate_by_name=True,