Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
varunshankar committed Jun 22, 2023
1 parent ce9f3a3 commit 013ec44
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rasa/core/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,8 +721,10 @@ async def parse_message(
)
# Intent is not explicitly present. Pass message to graph.
if msg.data.get(INTENT) is None:
if tracker is None:
tracker = DialogueStateTracker.from_events(message.sender_id, [])
parse_data = self._parse_message_with_graph(
message, only_output_properties
message, tracker, only_output_properties
)
else:
parse_data = {
Expand Down

0 comments on commit 013ec44

Please sign in to comment.