Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
varunshankar committed Sep 26, 2023
1 parent 62cb719 commit b33b778
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rasa/core/nlg/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,9 @@ async def generate(
"""Generate a response for the requested utter action."""
filled_slots = tracker.current_slot_values()
stack_context = DialogueStack.from_tracker(tracker).current_context()
resp = self.generate_from_slots(
return self.generate_from_slots(
utter_action, filled_slots, stack_context, output_channel, **kwargs
)
return resp

def generate_from_slots(
self,
Expand Down Expand Up @@ -112,6 +111,7 @@ def _fill_response(
method = response.get(METADATA, {}).get(
TEMPLATE_ENGINE_CONFIG_KEY, DEFAULT_TEMPLATE_ENGINE
)

keys_to_interpolate = [
"text",
"image",
Expand Down

0 comments on commit b33b778

Please sign in to comment.