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

bug: __event_emitter__ broken for function outlets #3737

Closed
michaelpoluektov opened this issue Jul 9, 2024 · 0 comments
Closed

bug: __event_emitter__ broken for function outlets #3737

michaelpoluektov opened this issue Jul 9, 2024 · 0 comments

Comments

@michaelpoluektov
Copy link
Contributor

Bug Report

Description

The following definitions for __event_emitter__ and __event_call__ make no sense:

async def __event_emitter__(data):

They expect the user to provide a chat, message and session ID in the payload.

Additionally, neither __event_emitter__ nor __event_call__ are available from the pipe() method of regular pipelines: only filter pipelines work.

__event_emitter__ and __event_call__ should ideally be stored somewhere with the session.

@michaelpoluektov michaelpoluektov changed the title bug: __event_emitter__ definition for outlets makes no sense bug: __event_emitter__ broken for function outlets Jul 9, 2024
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

No branches or pull requests

1 participant