Skip to content
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

DPNLPF-2142: stream responses #137

Merged
merged 11 commits into from
Sep 26, 2023
Merged

Conversation

SyrexMinus
Copy link
Collaborator

@SyrexMinus SyrexMinus commented Aug 22, 2023

Add responses streaming to KafkaMainLoop, SmartAppModel, exc_handler, handlers, Behaviors, DialogueManager, BaseScenario and actions.

@@ -16,13 +16,16 @@ def __init__(self, app_name: str):
self._clear_current_scenario = ClearCurrentScenarioAction()

async def run(self, payload: Dict[str, Any], user: User) -> List[Command]:
Copy link
Collaborator

Choose a reason for hiding this comment

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

линтер ругается.
List[Command]:
нужно поменять на AsyncIterable[Command]

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@dangerink dangerink merged commit 616b955 into main Sep 26, 2023
8 checks passed
@dangerink dangerink deleted the feature/DPNLPF_2142_stream_responses branch September 26, 2023 11:50
@dangerink dangerink restored the feature/DPNLPF_2142_stream_responses branch September 26, 2023 12:06
DimaProskurin pushed a commit that referenced this pull request Oct 3, 2023
…_2142_stream_responses"

This reverts commit 616b955, reversing
changes made to a5a2ac2.
DimaProskurin added a commit that referenced this pull request Oct 3, 2023
…_2142_stream_responses" (#145)

This reverts commit 616b955, reversing
changes made to a5a2ac2.

Co-authored-by: Dmitrii Proskurin <[email protected]>
@DimaProskurin DimaProskurin deleted the feature/DPNLPF_2142_stream_responses branch October 3, 2023 13:15
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.

2 participants