We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53a8ffa commit a30f6aeCopy full SHA for a30f6ae
README.md
@@ -113,14 +113,15 @@ pip install agentex-sdk[aiohttp]
113
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
114
115
```python
116
+import os
117
import asyncio
118
from agentex import DefaultAioHttpClient
119
from agentex import AsyncAgentex
120
121
122
async def main() -> None:
123
async with AsyncAgentex(
- api_key="My API Key",
124
+ api_key=os.environ.get("AGENTEX_SDK_API_KEY"), # This is the default and can be omitted
125
http_client=DefaultAioHttpClient(),
126
) as client:
127
tasks = await client.tasks.list()
0 commit comments