From 886a25d9995980b85af701bff2bb97494fa57754 Mon Sep 17 00:00:00 2001 From: Patrick Loeber <50772274+patrickloeber@users.noreply.github.com> Date: Thu, 6 Mar 2025 15:54:28 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 83c58c6f6..83dbb257c 100644 --- a/README.md +++ b/README.md @@ -483,7 +483,7 @@ response = client.models.generate_content( contents='What is the sum of the first 50 prime numbers? Generate and run ' 'code for the calculation, and make sure you get all 50.', config=types.GenerateContentConfig( - tools=[types.Tool(code_execution=types.CodeExecution())], + tools=[types.Tool(code_execution=types.ToolCodeExecution)], ), ) ```