diff --git a/libs/community/langchain_community/llms/moonshot.py b/libs/community/langchain_community/llms/moonshot.py index 473f35fdf069b..7f204fa69d885 100644 --- a/libs/community/langchain_community/llms/moonshot.py +++ b/libs/community/langchain_community/llms/moonshot.py @@ -39,7 +39,7 @@ def completion(self, request: Any) -> Any: class MoonshotCommon(BaseModel): """Common parameters for Moonshot LLMs.""" - client: _MoonshotClient + client: Any base_url: str = MOONSHOT_SERVICE_URL_BASE moonshot_api_key: Optional[SecretStr] = Field(default=None, alias="api_key") """Moonshot API key. Get it here: https://platform.moonshot.cn/console/api-keys"""