Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backend: fix is_available in gdrive tool #672

Merged
merged 8 commits into from
Aug 15, 2024
2 changes: 1 addition & 1 deletion src/backend/tools/google_drive/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class GoogleDrive(BaseTool):

@classmethod
def is_available(cls) -> bool:
return cls.CLIENT_ID is not None and cls.CLIENT_ID is not None
return cls.CLIENT_ID is not None and cls.CLIENT_SECRET is not None

def _handle_tool_specific_errors(cls, error: Exception, **kwargs: Any):
message = "[Google Drive] Tool Error: {}".format(str(error))
Expand Down
Loading