Skip to content

Commit

Permalink
Merge branch 'main' into feat-search-conversations
Browse files Browse the repository at this point in the history
  • Loading branch information
tofarr authored Jan 1, 2025
2 parents 56ef8e3 + 50a0b1d commit 1696987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openhands/controller/agent_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ async def _step_with_exception_handling(self):
reported = RuntimeError(
'There was an unexpected error while running the agent.'
)
if isinstance(e, litellm.LLMError):
if isinstance(e, litellm.AuthenticationError):
reported = e
await self._react_to_exception(reported)

Expand Down

0 comments on commit 1696987

Please sign in to comment.