Skip to content

Commit

Permalink
add FunctionCallNotExistsError to agent controller
Browse files Browse the repository at this point in the history
  • Loading branch information
xingyaoww committed Nov 18, 2024
1 parent cdc740a commit d730d1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openhands/controller/agent_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from openhands.controller.stuck import StuckDetector
from openhands.core.config import AgentConfig, LLMConfig
from openhands.core.exceptions import (
FunctionCallNotExistsError,
FunctionCallValidationError,
LLMMalformedActionError,
LLMNoActionError,
Expand Down Expand Up @@ -488,6 +489,7 @@ async def _step(self) -> None:
LLMNoActionError,
LLMResponseError,
FunctionCallValidationError,
FunctionCallNotExistsError,
) as e:
self.event_stream.add_event(
ErrorObservation(
Expand Down

0 comments on commit d730d1b

Please sign in to comment.