BroBro87 commited on
Commit
da98342
·
verified ·
1 Parent(s): b3809a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -85,7 +85,11 @@ class CalendarWrappedAPI:
85
  if self.connections[entity_id]['status'] != 'active':
86
  return "Connection not active. Please complete the authentication process."
87
 
88
- tools = self.toolset.get_tools(apps=[App.GOOGLECALENDAR])
 
 
 
 
89
 
90
  prefix_messages = [
91
  ChatMessage(
 
85
  if self.connections[entity_id]['status'] != 'active':
86
  return "Connection not active. Please complete the authentication process."
87
 
88
+ tools = self.toolset.get_tools(actions=[Action.GOOGLECALENDAR_GET_CALENDAR,
89
+ Action.GOOGLECALENDAR_FIND_EVENT,
90
+ Action.GOOGLECALENDAR_GET_CURRENT_DATE_TIME],
91
+ Action.GOOGLECALENDAR_LIST_CALENDARS
92
+ )
93
 
94
  prefix_messages = [
95
  ChatMessage(