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 1ba6bcc commit 5aacfd7Copy full SHA for 5aacfd7
README.md
@@ -81,15 +81,14 @@ pip install contextual-client[aiohttp]
81
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
82
83
```python
84
-import os
85
import asyncio
86
from contextual import DefaultAioHttpClient
87
from contextual import AsyncContextualAI
88
89
90
async def main() -> None:
91
async with AsyncContextualAI(
92
- api_key=os.environ.get("CONTEXTUAL_API_KEY"), # This is the default and can be omitted
+ api_key="My API Key",
93
http_client=DefaultAioHttpClient(),
94
) as client:
95
create_agent_output = await client.agents.create(
0 commit comments