The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community: Fix a validation error for MoonshotChat (#27801)
Tao Wang25a103187137
diff --git a/libs/community/langchain_community/llms/moonshot.py b/libs/community/langchain_community/llms/moonshot.pyindex 473f35fdf0..7f204fa69d 100644--- a/libs/community/langchain_community/llms/moonshot.py+++ b/libs/community/langchain_community/llms/moonshot.py@@ -39,7 +39,7 @@ class _MoonshotClient(BaseModel):class MoonshotCommon(BaseModel):"""Common parameters for Moonshot LLMs."""- client: _MoonshotClient+ client: Anybase_url: str = MOONSHOT_SERVICE_URL_BASEmoonshot_api_key: Optional[SecretStr] = Field(default=None, alias="api_key")"""Moonshot API key. Get it here: https://platform.moonshot.cn/console/api-keys"""