From 32345d55b00008d442f8c8c535823b86625482e2 Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Mon, 4 Mar 2024 15:50:12 -0500 Subject: [PATCH] Update to AsyncAnthropic import for async example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 07b497059..3996f08cf 100644 --- a/README.md +++ b/README.md @@ -109,9 +109,9 @@ for event in stream: The async client uses the exact same interface. ```python -from anthropic import Anthropic +from anthropic import AsyncAnthropic -client = Anthropic() +client = AsyncAnthropic() stream = await client.messages.create( max_tokens=1024,