mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Fix stuck after incorrect TaskTrackingAction (#11436)
Co-authored-by: jarrycyx <dzdzzd@126.com> Co-authored-by: Graham Neubig <neubig@gmail.com>
This commit is contained in:
parent
e208b64a95
commit
6b211f3b29
@ -984,7 +984,12 @@ fi
|
||||
task_list=[],
|
||||
content=f'Failed to read the task list from session directory {task_file_path}. Error: {str(e)}',
|
||||
)
|
||||
|
||||
else:
|
||||
return TaskTrackingObservation(
|
||||
command=action.command,
|
||||
task_list=[],
|
||||
content=f'Unknown command: {action.command}',
|
||||
)
|
||||
return NullObservation('')
|
||||
if (
|
||||
hasattr(action, 'confirmation_state')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user