Spaces:
Build error
Build error
Update app.py
Browse files
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(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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(
|