Skip to content

Commit 5aacfd7

Browse files
feat: clean up environment call outs
1 parent 1ba6bcc commit 5aacfd7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,14 @@ pip install contextual-client[aiohttp]
8181
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
8282

8383
```python
84-
import os
8584
import asyncio
8685
from contextual import DefaultAioHttpClient
8786
from contextual import AsyncContextualAI
8887

8988

9089
async def main() -> None:
9190
async with AsyncContextualAI(
92-
api_key=os.environ.get("CONTEXTUAL_API_KEY"), # This is the default and can be omitted
91+
api_key="My API Key",
9392
http_client=DefaultAioHttpClient(),
9493
) as client:
9594
create_agent_output = await client.agents.create(

0 commit comments

Comments
 (0)