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
Merged

Conversation

1vn
Copy link
Member

@1vn 1vn commented Aug 15, 2024

Noticed that we're checking CLIENT_ID is None twice instead of also checking CLIENT_SECRET

AI Description

This pull request updates the is_available method in the GoogleDrive class of tool.py.

Summary

The is_available class method now checks for the presence of both CLIENT_ID and CLIENT_SECRET to determine availability, whereas previously, it only checked for CLIENT_ID twice.

Changes

  • Updates the is_available class method in GoogleDrive class to check for CLIENT_SECRET.

@1vn 1vn changed the title fix is_available in gdrive tool backend: fix is_available in gdrive tool Aug 15, 2024
@codecov-commenter
Copy link

codecov-commenter commented Aug 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.60%. Comparing base (ee97d0f) to head (2af4814).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #672   +/-   ##
=======================================
  Coverage   74.60%   74.60%           
=======================================
  Files         256      256           
  Lines       11054    11054           
=======================================
  Hits         8247     8247           
  Misses       2807     2807           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

1vn and others added 6 commits August 15, 2024 14:56
…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>
…sistants_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>
…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>
#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>
@1vn 1vn force-pushed the minor-fix-gdrive-is-available branch from 39a76b7 to dcac9bc Compare August 15, 2024 12:56
@1vn 1vn added this pull request to the merge queue Aug 15, 2024
Merged via the queue into main with commit d7d1be5 Aug 15, 2024
6 checks passed
@1vn 1vn deleted the minor-fix-gdrive-is-available branch August 15, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants