max_number_of_predictions
parameter not considered during story testing
#5489
Labels
type:bug 🐛
Inconsistencies or issues which will cause an issue or problem for users or implementors.
When running
rasa test
, during story evaluation it seems like themax_number_of_predictions
parameter in the processor isn't taken into account. This means if there's stories with a lot of actions in a row (>10 by the default parameter), the tests will pass, but when a user talks to the bot the circuit breaker will be tripped.During action prediction when talking to the bot, the
_predict_and_execute_next_action
function in the processor gets executed, whereas during the test it's thepredict_next_action
function.We should make it so that the
predict_next_action
function also takes themax_number_of_predictions
parameter into accountThe text was updated successfully, but these errors were encountered: