From f952fd0f17ab0c36953416c73d5e763ea2893ac2 Mon Sep 17 00:00:00 2001 From: Jah-yee Date: Thu, 12 Mar 2026 09:21:25 +0800 Subject: [PATCH] fix: change request.get to requests.get in README example The example code in README incorrectly uses request.get() instead of requests.get(). This fix corrects the import reference to use the proper requests library method. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7d41fe4e..78493833 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,7 @@ llm_cfg = { # Step 3: Create an agent. Here we use the `Assistant` agent as an example, which is capable of using tools and reading files. system_instruction = '''After receiving the user's request, you should: - first draw an image and obtain the image url, -- then run code `request.get(image_url)` to download the image, +- then run code `requests.get(image_url)` to download the image, - and finally select an image operation from the given document to process the image. Please show the image using `plt.show()`.''' tools = ['my_image_gen', 'code_interpreter'] # `code_interpreter` is a built-in tool for executing code. For configuration details, please refer to the FAQ.