From a6d8544eed7c6f90fe038899561badf009d85956 Mon Sep 17 00:00:00 2001 From: Pranjal Bhatia <233476158+pranjalbhatia710@users.noreply.github.com> Date: Thu, 4 Jun 2026 00:20:37 +0400 Subject: [PATCH] docs: import httpx in timeout example --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 6f87246470..f19c382ea5 100644 --- a/README.md +++ b/README.md @@ -697,6 +697,7 @@ By default requests time out after 10 minutes. You can configure this with a `ti which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object: ```python +import httpx from openai import OpenAI # Configure the default for all requests: