# Generate summary
summary = chat(messages)
print(summary.content)
this is code
the error: Attribute Error: module 'openai' has no attribute 'error'
this is the error any help on how to fix it the rest of the code works perfectly fine.
# Generate summary
summary = chat(messages)
print(summary.content)
this is code
the error: Attribute Error: module 'openai' has no attribute 'error'
this is the error any help on how to fix it the rest of the code works perfectly fine.