Skip to content

Commit

Permalink
get the no observer plan warning back
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng committed Jan 14, 2025
1 parent e4ad2ff commit 800a60d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions skyvern/forge/sdk/services/observer_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,10 @@ async def run_observer_cruise_helper(
output={"task_type": task_type, "user_goal_achieved": user_goal_achieved},
)

if not plan:
LOG.warning("No plan found in observer response", observer_response=observer_response)
continue

if user_goal_achieved is True:
LOG.info(
"User goal achieved. Workflow run will complete. Observer is stopping",
Expand Down

0 comments on commit 800a60d

Please sign in to comment.