OpenAI Python SDK stream hangs on base_url switch
AI-generated summary The OpenAI Python SDK streaming call hangs, truncates, or throws an IndexError when repointed to a new base_url. The article provides a diagnosis order and a runnable probe to troubleshoot transport issues and differences in gateway behavior.