wolf1997 commited on
Commit
f2032eb
·
verified ·
1 Parent(s): ffe1fde

Update schedule_agent.py

Browse files
Files changed (1) hide show
  1. 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
- with open(f"schedules/{filename}.txt", "w") as f:
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