wolf-core icon indicating copy to clipboard operation
wolf-core copied to clipboard

passing `convoState` in `nextAbility`

Open howlowck opened this issue 6 years ago • 1 comments

Is your feature request related to a problem? Please describe. user should have access to convoState when deciding which ability to start next. However in order to have an accurate convoState, nextAbility has to be executed after the slot's onComplete is executed.

onComplete can be async, and the result of onComplete is done in the wolfMiddleware.

Describe the solution you'd like We should need to make another stage (say, kickoff) to be run after execute and before outtake. this proposed stage, is to find the nextAbility and kickoff the ability with the next query (or finish the ability if no slot is present)

Since the nextAbility could finish (when it has no slot), and requires another execute... and so on and so forth. this means the execute and kickoff is in a loop until there is no more nextAbility to finish.

howlowck avatar Aug 02 '18 20:08 howlowck

Started but deprioritized.. kslhacks/nextAbility branch.

kevinleung23 avatar Aug 07 '18 14:08 kevinleung23