We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb09d4d commit 397b649Copy full SHA for 397b649
README.md
@@ -87,15 +87,14 @@ pip install lumaai[aiohttp]
87
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
88
89
```python
90
-import os
91
import asyncio
92
from lumaai import DefaultAioHttpClient
93
from lumaai import AsyncLumaAI
94
95
96
async def main() -> None:
97
async with AsyncLumaAI(
98
- auth_token=os.environ.get("LUMAAI_API_KEY"), # This is the default and can be omitted
+ auth_token="My Auth Token",
99
http_client=DefaultAioHttpClient(),
100
) as client:
101
generation = await client.generations.create(
0 commit comments