openai Requests streamlit tenacity