Skip to content

Commit

Permalink
domain fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tmbo committed Jun 20, 2023
1 parent 87348ba commit c732584
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rasa/core/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,8 @@ def load_model(

# update domain on all instances
self.tracker_store.domain = self.domain
if hasattr(self.tracker_store, "_tracker_store"):
self.tracker_store._tracker_store.domain = self.domain
if isinstance(self.nlg, TemplatedNaturalLanguageGenerator):
self.nlg.responses = self.domain.responses if self.domain else {}

Expand Down

0 comments on commit c732584

Please sign in to comment.