Skip to content

Commit 397b649

Browse files
feat: clean up environment call outs
1 parent bb09d4d commit 397b649

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
@@ -87,15 +87,14 @@ pip install lumaai[aiohttp]
8787
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
8888

8989
```python
90-
import os
9190
import asyncio
9291
from lumaai import DefaultAioHttpClient
9392
from lumaai import AsyncLumaAI
9493

9594

9695
async def main() -> None:
9796
async with AsyncLumaAI(
98-
auth_token=os.environ.get("LUMAAI_API_KEY"), # This is the default and can be omitted
97+
auth_token="My Auth Token",
9998
http_client=DefaultAioHttpClient(),
10099
) as client:
101100
generation = await client.generations.create(

0 commit comments

Comments
 (0)