Managed to get 2 way communication between Mesop app and Autogen getting through, while enabling streaming of Autogen responses.
One notable snag is that in Mesop state variable it is not possible to have Queue objects and similar, since the state gets serialized and deserialized around. So some kind of registry is needed, and only Id gets stored in Mesop state.
What needs to be done next is to orhanize conversation in Mesop app into smaller chunks of [(User provided input, Stream of autogen responses)]
Managed to get 2 way communication between Mesop app and Autogen getting through, while enabling streaming of Autogen responses.
One notable snag is that in Mesop state variable it is not possible to have Queue objects and similar, since the state gets serialized and deserialized around. So some kind of registry is needed, and only Id gets stored in Mesop state.
What needs to be done next is to orhanize conversation in Mesop app into smaller chunks of [(User provided input, Stream of autogen responses)]