Leon4gr45's picture
Upload codebase with API and Dockerfile
b5fbdc3 verified
Raw
History Blame Contribute Delete
198 Bytes
async def response_stream(agent, text, parsed, **kwargs):
if hasattr(agent.context, 'stream_queue'):
agent.context.stream_queue.put({'type': 'response', 'text': text, 'parsed': parsed})