Spaces:
Sleeping
Sleeping
Update schedule_agent.py
Browse files- schedule_agent.py +1 -3
schedule_agent.py
CHANGED
|
@@ -193,9 +193,7 @@ def save_schedule(state: Annotated[dict, InjectedState],tool_call_id: Annotated[
|
|
| 193 |
agrs: filename the name of the file, no need to include the extentions of the file
|
| 194 |
"""
|
| 195 |
file= state['trip_data']
|
| 196 |
-
|
| 197 |
-
f.write(file)
|
| 198 |
-
return f'{filename} saved'
|
| 199 |
|
| 200 |
|
| 201 |
|
|
|
|
| 193 |
agrs: filename the name of the file, no need to include the extentions of the file
|
| 194 |
"""
|
| 195 |
file= state['trip_data']
|
| 196 |
+
return f'{filename} saved (however, since this is a demo, it is not really saved:))'
|
|
|
|
|
|
|
| 197 |
|
| 198 |
|
| 199 |
|