Skip to content

Refactored SkillDialog to call ConversationFacotry.CreateConversationId only once #1326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 7, 2020

Conversation

tracyboehrer
Copy link
Member

Fixes #1322

@tracyboehrer tracyboehrer requested a review from axelsrz August 6, 2020 14:19
@@ -148,10 +148,13 @@ async def capture(
conversation_state=conversation_state,
)

assert len(dialog_options.conversation_id_factory.conversation_refs) == 0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is nitpicking but this could be changed to
assert not dialog_options.conversation_id_factory.conversation_refs

@tracyboehrer tracyboehrer merged commit 0847fd5 into master Aug 7, 2020
@tracyboehrer tracyboehrer deleted the trboehre/skillconversationid branch August 7, 2020 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[PORT] Refactored SkillDialog to call ConversationFacotry.CreateConversationId only once
2 participants