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 9dd374a commit 92f7455Copy full SHA for 92f7455
README.md
@@ -81,14 +81,15 @@ 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(
- api_key="My API Key",
92
+ api_key=os.environ.get("CONTEXTUAL_API_KEY"), # This is the default and can be omitted
93
http_client=DefaultAioHttpClient(),
94
) as client:
95
create_agent_output = await client.agents.create(
0 commit comments