Getting this error: openai.InternalServerError: stream timeout
while uploading files to my azure Openai client for gpt-4o batch calls. I have been using this deployment for almost a month now with minimal problems. Today is the first time i have experienced this issue and it seems to keep repeating itself even after retrying many times. Here is my code for reference:
client = AzureOpenAI(
azure_endpoint=azure_batch_endpoint,
api_key=api_key,
api_version="2024-10-21"
)
file = client.files.create(
file=open(structured_batches_metadata[batch]["file_path"], "rb"),
purpose="batch"
)