Skip to content

Commit 226b7fc

Browse files
authored
Update openhands/controller/agent_controller.py
1 parent e13e407 commit 226b7fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openhands/controller/agent_controller.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ async def _react_to_exception(
261261
elif isinstance(e, RateLimitError):
262262
await self.set_agent_state_to(AgentState.RATE_LIMITED)
263263
return
264-
await self.status_callback('error', err_id, self.state.last_error)
264+
self.status_callback('error', err_id, self.state.last_error)
265265

266266
# Set the agent state to ERROR after storing the reason
267267
await self.set_agent_state_to(AgentState.ERROR)

0 commit comments

Comments
 (0)