Skip to content
This repository was archived by the owner on Jun 26, 2025. It is now read-only.

Commit 7b06422

Browse files
committed
re-enable actions on google rich responses
1 parent fdb9c9f commit 7b06422

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

flask_assistant/response/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ def _integrate_with_hangouts(self, speech=None, display_text=None, is_ssml=False
8585
self._messages.append(m)
8686

8787
def _integrate_with_actions(self, speech=None, display_text=None, is_ssml=False):
88-
return
8988
if display_text is None:
9089
display_text = speech
9190

@@ -354,6 +353,7 @@ def __init__(self, speech, display_text=None, title=None, items=None):
354353
super(_ListSelector, self).__init__(speech, display_text, items)
355354

356355
def _add_message(self):
356+
357357
self._messages.append(
358358
{
359359
"platform": "ACTIONS_ON_GOOGLE",

flask_assistant/response/df_messenger.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
import dialogflow_v2beta1 as df
2-
from google.protobuf.json_format import MessageToDict
3-
4-
51
def _build_info_response(
62
text, title, img_url=None, img_alt=None, subtitle=None, link=None, link_title=None,
73
):

0 commit comments

Comments
 (0)