We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c45d94f commit 6153b3aCopy full SHA for 6153b3a
1 file changed
README.md
@@ -85,14 +85,15 @@ pip install agentbase-sdk[aiohttp]
85
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
86
87
```python
88
+import os
89
import asyncio
90
from agentbase import DefaultAioHttpClient
91
from agentbase import AsyncAgentbase
92
93
94
async def main() -> None:
95
async with AsyncAgentbase(
- api_key="My API Key",
96
+ api_key=os.environ.get("AGENTBASE_API_KEY"), # This is the default and can be omitted
97
http_client=DefaultAioHttpClient(),
98
) as client:
99
response = await client.run_agent(
0 commit comments