Skip to content

The agent engineering platform.

community: fix missing `apify_api_token` field in ApifyWrapper (#22421)

Charles John2d81a72884c4
diff --git a/libs/community/langchain_community/utilities/apify.py b/libs/community/langchain_community/utilities/apify.py
index 04b893d460..efcae49e2d 100644
--- a/libs/community/langchain_community/utilities/apify.py
+++ b/libs/community/langchain_community/utilities/apify.py
@@ -17,6 +17,7 @@ class ApifyWrapper(BaseModel):
apify_client: Any
apify_client_async: Any
+ apify_api_token: Optional[str] = None
@root_validator()
def validate_environment(cls, values: Dict) -> Dict: