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 ffcc579 commit fc436afCopy full SHA for fc436af
README.md
@@ -122,15 +122,14 @@ pip install writer-sdk[aiohttp]
122
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
123
124
```python
125
-import os
126
import asyncio
127
from writerai import DefaultAioHttpClient
128
from writerai import AsyncWriter
129
130
131
async def main() -> None:
132
async with AsyncWriter(
133
- api_key=os.environ.get("WRITER_API_KEY"), # This is the default and can be omitted
+ api_key="My API Key",
134
http_client=DefaultAioHttpClient(),
135
) as client:
136
chat_completion = await client.chat.chat(
0 commit comments