Duplicated from awacke1/AIHumanBody
162 unmodified lines163164165166166167168169162 unmodified lines collected_chunks = [] collected_messages = [] key = os.getenv('OPENAI_API_KEY') openai.api_key = key client.api_key = key for chunk in client.chat.completions.create( model='gpt-3.5-turbo',