Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
homanp authored Jul 13, 2023
1 parent 21026a0 commit b6d2eb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ poetry add superagent-py
```python
from superagent.client import Superagent

client = Superagent(token="API_TOKEN")
client = Superagent(token="API_TOKEN", environment="https://api.superagent.sh")

agent = client.agents.get_agent("<AGENT_ID>")

Expand All @@ -48,7 +48,7 @@ from superagent.client import AsyncSuperagent

import asyncio

client = AsyncSuperagent(token="API_TOKEN")
client = AsyncSuperagent(token="API_TOKEN", environment="https://api.superagent.sh")

async def get_agent() -> None:
agent = client.agents.get_agent("<AGENT_ID>")
Expand Down

0 comments on commit b6d2eb2

Please sign in to comment.