You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Prompt Drivers should not depend on a Structure just to stream. Perhaps they should take in an event_listener: EventListener instead of a structure: Structure. If a Structure is the one using the Prompt Driver, it can provide an EventListener. Otherwise we can default one.
Screenshots
N/A
Desktop (please complete the following information):
N/A
Describe the bug
Prompt Drivers require
structure
to be set in order to publishCompletionChunkEvents
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Prompt Drivers should not depend on a Structure just to stream. Perhaps they should take in an
event_listener: EventListener
instead of astructure: Structure
. If a Structure is the one using the Prompt Driver, it can provide anEventListener
. Otherwise we can default one.Screenshots
N/A
Desktop (please complete the following information):
N/A
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: