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

tools: gmail #655

Closed
wants to merge 13 commits into from
Closed

tools: gmail #655

wants to merge 13 commits into from

Conversation

mtanzim
Copy link
Collaborator

@mtanzim mtanzim commented Aug 13, 2024

This PR introduces a new tool for searching Google Mail.

Code Changes:

  • New files added: gmail_test/main.py, src/backend/tools/google_mail/__init__.py, src/backend/tools/google_mail/auth.py, src/backend/tools/google_mail/constants.py, and src/backend/tools/google_mail/tool.py.
  • In src/backend/config/tools.py, the GoogleMail and GoogleMailAuth classes are imported, and Google_Mail is added to the ToolName enum.
  • In src/backend/tools/__init__.py, the GoogleMail and GoogleMailAuth classes are imported.
  • In src/backend/tools/google_mail/__init__.py, the GoogleMail, GoogleMailAuth, and GOOGLE_MAIL_TOOL_ID constants are imported.
  • In .gitignore, credentials.json and token.json are added to the list of ignored files.

@tanzimCohere tanzimCohere changed the title tanzim/gmail tool tools: gmail Aug 13, 2024
@codecov-commenter
Copy link

codecov-commenter commented Aug 14, 2024

Codecov Report

Attention: Patch coverage is 52.17391% with 66 lines in your changes missing coverage. Please review.

Project coverage is 75.94%. Comparing base (6e7f791) to head (4e01747).
Report is 79 commits behind head on main.

Files with missing lines Patch % Lines
src/backend/tools/google_mail/auth.py 43.85% 32 Missing ⚠️
src/backend/tools/google_mail/tool.py 40.81% 29 Missing ⚠️
src/backend/services/compass.py 37.50% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #655      +/-   ##
==========================================
- Coverage   77.10%   75.94%   -1.16%     
==========================================
  Files         238      242       +4     
  Lines       10455    10727     +272     
==========================================
+ Hits         8061     8147      +86     
- Misses       2394     2580     +186     

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

@tianjing-li
Copy link
Collaborator

Closing

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.

3 participants