Skip to content

When Actions fail #1578

Answered by singhk97
teledactyl asked this question in Q&A
Apr 25, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

If you're using the sequence augmentation the planner will generate the plan in it's entirety. And sometimes it will include a command to say to the user "I've hidden the cauliflower" even before the "HidePart" executes. Here are a few options to resolve this:

  1. What you can do is use the state.temp.actionOutputs property to access the return value of any action and within the PredictedSayCommand (i.e that command that sends the message back to the user) and conditionally send the appropraite response to the user.

  2. An alternative is to send a message back to the user within HidePart action itself and terminating the plan by returning AI.StopActionName.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@singhk97
Comment options

@teledactyl
Comment options

Answer selected by teledactyl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
dev support Dev support tracking support answered completed items previously under dev support label
2 participants