Skip to content

Commit

Permalink
It is *not* possible to use the tracker to check if the last message …
Browse files Browse the repository at this point in the history
…is still processing

Rasa does not update the tracker until the action has finished. Because of that the tracker is exactly the same when a message comes in while another is still processing.
  • Loading branch information
joern19 committed Mar 7, 2024
1 parent bd0e6c4 commit 3071a95
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rasa_vier_cvg/cvg.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,6 @@ def from_credentials(cls, credentials: Optional[Dict[Text, Any]]) -> InputChanne
else:
ignore_messages_when_busy = bool(ignore_messages_when_busy)

# There must be some way to access the tracker. But it is probably going to be private anyway...


logger.info(f"Creating input with: token={'*' * len(token)} proxy={proxy} start_intent={start_intent} blocking_endpoints={blocking_endpoints} ignore_messages_when_busy={ignore_messages_when_busy}")
return cls(token, start_intent, proxy, blocking_endpoints, ignore_messages_when_busy)

Expand Down

0 comments on commit 3071a95

Please sign in to comment.