Hello all! I've managed to build an AgentWorkflow with human in the loop support. The workflow works great, the only thing I'm not able to achieve is streaming text down to the client. I'm using the suggested approach:
async for event in handler.stream_events():
if isinstance(event, AgentStream):
message = ChatMessage(role="bot", type="delta", content=event.delta)
await websocket.send_json(message.model_dump())
...
The message sent to the client always have an empty delta. I'm using OpenAI with streaming set to true, is there anything I'm missing?