samvish commited on
Commit
14349a8
·
verified ·
1 Parent(s): ea9af80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -41,11 +41,11 @@ def setup_gmail_agent():
41
  print("Fetching Gmail tools from Composio...")
42
  # Get specific Gmail tools (Actions) you want the agent to use
43
  gmail_tools = composio_toolset.get_tools(actions=[
44
- Action.GMAIL_SEND_EMAIL,
45
- # Action.GMAIL_CREATE_EMAIL_DRAFT, # You can uncomment to add more actions
46
- Action.GMAIL_REPLY_TO_THREAD,
47
- Action.GMAIL_FETCH_MESSAGE_BY_THREAD_ID,
48
- Action.GMAIL_LIST_THREADS, # Good for getting recent conversations
49
  # Action.GMAIL_FETCH_EMAILS, # More generic fetch if needed
50
  ])
51
  print(f"Loaded {len(gmail_tools)} Gmail tools.")
 
41
  print("Fetching Gmail tools from Composio...")
42
  # Get specific Gmail tools (Actions) you want the agent to use
43
  gmail_tools = composio_toolset.get_tools(actions=[
44
+ # Action.GMAIL_SEND_EMAIL,
45
+ Action.GMAIL_CREATE_EMAIL_DRAFT,
46
+ # Action.GMAIL_REPLY_TO_THREAD,
47
+ # Action.GMAIL_FETCH_MESSAGE_BY_THREAD_ID,
48
+ # Action.GMAIL_LIST_THREADS, # Good for getting recent conversations
49
  # Action.GMAIL_FETCH_EMAILS, # More generic fetch if needed
50
  ])
51
  print(f"Loaded {len(gmail_tools)} Gmail tools.")