Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Commit

Permalink
report core version in remote action call
Browse files Browse the repository at this point in the history
  • Loading branch information
lew committed Jan 18, 2019
1 parent 2e75ab0 commit f6a1555
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rasa_core/actions/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import requests
import copy

from rasa_core.version import __version__ as rasa_core_version
from rasa_core import events
from rasa_core.constants import (
DOCS_BASE_URL,
Expand Down Expand Up @@ -230,7 +231,8 @@ def _action_call_format(self, tracker: 'DialogueStateTracker',
"next_action": self._name,
"sender_id": tracker.sender_id,
"tracker": tracker_state,
"domain": domain.as_dict()
"domain": domain.as_dict(),
"version": rasa_core_version
}

@staticmethod
Expand Down

0 comments on commit f6a1555

Please sign in to comment.