Skip to content

Commit

Permalink
fix prompt and safeguard
Browse files Browse the repository at this point in the history
  • Loading branch information
vyokky committed Jul 4, 2024
1 parent ed0a876 commit bc11f15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ufo/agents/states/app_agent_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,8 @@ def handle(self, agent: "AppAgent", context: Optional["Context"] = None) -> None
return

# Get the action and control text from the agent processor to ask the user whether to proceed with the action.
action = agent.processor.action
control_text = agent.processor.control_text
action = agent_processor.action
control_text = agent_processor.control_text

self._confirm = self.user_confirm(action=action, control_text=control_text)

Expand Down

0 comments on commit bc11f15

Please sign in to comment.