We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rasa version: 1.9.5
Rasa SDK version: 1.9.0 (same issue with master)
Python version: 3.7
Operating system (windows, osx, ...): Unix
Issue: When calling tracker.get_last_event_for("user", skip=n), events that are before a restart event are included.
tracker.get_last_event_for("user", skip=n)
restart
This seems to be due to an issue in the applied_events.
applied_events
if event.get("name") == "restart": applied_events = [] elif event.get("name") == "undo": undo_till_previous("action", applied_events) elif event.get("name") == "rewind": ...
From the code above, the event name is None. I believe it should get the event as event.get("event") instead.
name
None
event
event.get("event")
Command or request that led to error:
# run an action with a `Restarted()` event # in another action, run: tracker.get_last_event_for("user", skip=n)
The text was updated successfully, but these errors were encountered:
Thanks for raising this issue, @tabergma will get back to you about it soon✨
Sorry, something went wrong.
@nbeuchat Thanks for raising this issue. You seem to be right. Would you be up for fixing this issue and submitting a PR?
@tabergma sure :-) Should this be based on master?
master
Yes, master would be great. Thanks 🚀
Successfully merging a pull request may close this issue.
Rasa version: 1.9.5
Rasa SDK version: 1.9.0 (same issue with master)
Python version: 3.7
Operating system (windows, osx, ...): Unix
Issue:
When calling
tracker.get_last_event_for("user", skip=n)
, events that are before arestart
event are included.This seems to be due to an issue in the
applied_events
.From the code above, the event
name
isNone
. I believe it should get theevent
asevent.get("event")
instead.Command or request that led to error:
The text was updated successfully, but these errors were encountered: