From ac2a186090a7f7f31fbff327a19e676ca9d1f55f Mon Sep 17 00:00:00 2001 From: Stainless Bot Date: Mon, 11 Nov 2024 22:39:34 +0000 Subject: [PATCH] docs: move comments in example snippets --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 34ae1dacea..906dc37d39 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,7 @@ import os from openai import OpenAI client = OpenAI( - # This is the default and can be omitted - api_key=os.environ.get("OPENAI_API_KEY"), + api_key=os.environ.get("OPENAI_API_KEY"), # This is the default and can be omitted ) chat_completion = client.chat.completions.create( @@ -56,8 +55,7 @@ import asyncio from openai import AsyncOpenAI client = AsyncOpenAI( - # This is the default and can be omitted - api_key=os.environ.get("OPENAI_API_KEY"), + api_key=os.environ.get("OPENAI_API_KEY"), # This is the default and can be omitted )