Skip to content

Commit

Permalink
integration:langchain_xai
Browse files Browse the repository at this point in the history
  • Loading branch information
Archkon authored Dec 21, 2024
1 parent 2a7469e commit 2569c41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libs/partners/xai/langchain_xai/chat_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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,
Expand Down

0 comments on commit 2569c41

Please sign in to comment.