Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -103,7 +103,6 @@ class CalendarService:
|
|
103 |
tools = self.toolset.get_tools([
|
104 |
Action.GOOGLECALENDAR_GET_CALENDAR,
|
105 |
Action.GOOGLECALENDAR_FIND_EVENT,
|
106 |
-
Action.GOOGLECALENDAR_GET_CURRENT_DATE_TIME,
|
107 |
])
|
108 |
|
109 |
agent = FunctionCallingAgentWorker(
|
@@ -136,6 +135,7 @@ class CalendarService:
|
|
136 |
|
137 |
response = agent.chat(
|
138 |
f"Create a Calendar Wrapped summary for user with entity_id: {entity_id}. "
|
|
|
139 |
"Use the available Google Calendar actions to gather real data about the user's calendar usage."
|
140 |
"calendar id is primary"
|
141 |
)
|
|
|
103 |
tools = self.toolset.get_tools([
|
104 |
Action.GOOGLECALENDAR_GET_CALENDAR,
|
105 |
Action.GOOGLECALENDAR_FIND_EVENT,
|
|
|
106 |
])
|
107 |
|
108 |
agent = FunctionCallingAgentWorker(
|
|
|
135 |
|
136 |
response = agent.chat(
|
137 |
f"Create a Calendar Wrapped summary for user with entity_id: {entity_id}. "
|
138 |
+
f"Today's date is {datetime.now().isoformat()}"
|
139 |
"Use the available Google Calendar actions to gather real data about the user's calendar usage."
|
140 |
"calendar id is primary"
|
141 |
)
|