change get reply arguments
Browse files
ChatWithDemonstrationsFlow.py
CHANGED
|
@@ -74,14 +74,12 @@ class ChatWithDemonstrationsFlow(CompositeFlow):
|
|
| 74 |
self.flow_state["input_message"] = input_message
|
| 75 |
self.subflows["demonstration_flow"].get_reply(
|
| 76 |
input_message,
|
| 77 |
-
self.get_instance_id(),
|
| 78 |
)
|
| 79 |
self.flow_state["last_state"] = "demonstration_flow"
|
| 80 |
|
| 81 |
elif self.flow_state["last_state"] == "demonstration_flow":
|
| 82 |
self.subflows["chat_flow"].get_reply(
|
| 83 |
input_message,
|
| 84 |
-
self.get_instance_id(),
|
| 85 |
)
|
| 86 |
self.flow_state["last_state"] = "chat_flow"
|
| 87 |
|
|
|
|
| 74 |
self.flow_state["input_message"] = input_message
|
| 75 |
self.subflows["demonstration_flow"].get_reply(
|
| 76 |
input_message,
|
|
|
|
| 77 |
)
|
| 78 |
self.flow_state["last_state"] = "demonstration_flow"
|
| 79 |
|
| 80 |
elif self.flow_state["last_state"] == "demonstration_flow":
|
| 81 |
self.subflows["chat_flow"].get_reply(
|
| 82 |
input_message,
|
|
|
|
| 83 |
)
|
| 84 |
self.flow_state["last_state"] = "chat_flow"
|
| 85 |
|