2-man
Results
2
comments of
2-man
change function stream_response in client.py to ``` async def stream_response(resp): full_answer = None async for chunk in resp.aiter_lines(delimiter=b'\r\n\r\n'): content = chunk.decode('utf-8') if content.startswith('event: message\r\n'): content_json = json.loads(content[len('event: message\r\ndata: '):]) for...