Skip to content

Commit

Permalink
fixed issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tmbo committed Jul 25, 2023
1 parent 933dad3 commit b5af522
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rasa/cdu/command_generator/llm_command_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
CancelFlowCommand,
StartFlowCommand,
HumanHandoffCommand,
ListenCommand,
CorrectSlotCommand,
)

from rasa.core.policies.flow_policy import FlowStack
Expand Down Expand Up @@ -189,7 +187,7 @@ def parse_commands(cls, actions: Optional[str]) -> List[Command]:
chitchat_re = re.compile(r"ChitChat\(\)")
knowledge_re = re.compile(r"KnowledgeAnswer\(\)")
humand_handoff_re = re.compile(r"HumandHandoff\(\)")
listen_re = re.compile(r"Listen\(\)")
# listen_re = re.compile(r"Listen\(\)")

for action in actions.strip().splitlines():
if m := slot_set_re.search(action):
Expand Down

0 comments on commit b5af522

Please sign in to comment.