diff --git a/libs/community/langchain_google_community/drive.py b/libs/community/langchain_google_community/drive.py index 8bdb93ff..769d714c 100644 --- a/libs/community/langchain_google_community/drive.py +++ b/libs/community/langchain_google_community/drive.py @@ -15,7 +15,7 @@ from langchain_core.documents import Document from pydantic import BaseModel, field_validator, model_validator -SCOPES = ["https://www.googleapis.com/auth/drive.file"] +SCOPES = ["https://www.googleapis.com/auth/drive.readonly"] class GoogleDriveLoader(BaseLoader, BaseModel):