Skip to content

Commit

Permalink
backend: fix is_available in gdrive tool (#672)
Browse files Browse the repository at this point in the history
* fix check

* chore(deps): bump axios from 1.6.8 to 1.7.4 in /src/interfaces/coral_web (#668)

Bumps [axios](https://github.com/axios/axios) from 1.6.8 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.6.8...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Khalil Najjar <knajjars@gmail.com>

* build(deps): bump postcss from 7.0.39 to 8.4.39 in /src/interfaces/assistants_web (#469)

build(deps): bump postcss in /src/interfaces/assistants_web

Bumps [postcss](https://github.com/postcss/postcss) from 7.0.39 to 8.4.39.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@7.0.39...8.4.39)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Khalil Najjar <knajjars@gmail.com>

* chore(deps): bump axios from 1.7.2 to 1.7.4 in /src/interfaces/slack_bot (#669)

Bumps [axios](https://github.com/axios/axios) from 1.7.2 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.7.2...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Khalil Najjar <knajjars@gmail.com>

* feat: arrow up inside of composer will fill with the last user message (#663)

* feat: arrow up inside of composer will fill with the last user message

* fix: take the last user message instead the first one

* refactor: run format

---------

Co-authored-by: Khalil Najjar <knajjars@gmail.com>

* Revert "chore(deps-dev): bump nltk from 3.8.1 to 3.8.2 (#653)" (#673)

This reverts commit c507489.

* Update poetry.lock

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Khalil Najjar <knajjars@gmail.com>
Co-authored-by: Tomeu <tomeu@cohere.com>
Co-authored-by: Ads Dawson <104169244+GangGreenTemperTatum@users.noreply.github.com>
  • Loading branch information
5 people authored Aug 15, 2024
1 parent ee97d0f commit d7d1be5
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit d7d1be5

Please sign in to comment.