Merged
Conversation
…te Gmail agent import path to reflect changes in the project structure
…xt and functions for event listing and retrieval. Modify .gitignore to support wildcard token files.
…nt retrieval and context usage with Gmail integration.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds Google Calendar integration to the application, alongside several improvements to environment configuration and agent setup. The main changes include a new
CalendarToolfor interacting with Google Calendar, updates to the agent context and credential management to support calendar access, and the addition of new function tools for listing and retrieving calendar events.Google Calendar Integration
CalendarToolclass to provide read-only access to Google Calendar, including methods for listing events and retrieving a single event. (src/zerozen/integrations/google/calendar_tool.py)list_calendar_eventsandget_calendar_event, enabling the agent to interact with calendar data. (src/zerozen/integrations/google/agent.py)AppContextand agent construction to include the calendar tool and credentials. (src/zerozen/integrations/google/agent.py) [1] [2]CalendarTool. (src/zerozen/integrations/google/__init__.py)Credential Management
desktop_calendar_creds_provider_factory, to handle Google Calendar authentication separately from Gmail. (src/zerozen/integrations/google/creds.py) [1] [2]Agent and Prompt Updates
src/zerozen/integrations/google/agent.py) [1] [2]src/zerozen/agenthub/main.py)Environment Configuration
.envfile at startup. (src/zerozen/chat.py)