Skip to content

Commit 92aeb4f

Browse files
committed
one more wording revision
1 parent 6fd6345 commit 92aeb4f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/troubleshooting.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ Below are suggestions on how to fix some common errors you might encounter while
66

77
### `RuntimeError: This event loop is already running`
88

9-
This error is caused by conflicts between the event loops in Jupyter notebook and `pydantic-ai`'s agent. One way to manage these conflicts is by using [`nest-asyncio`](https://pypi.org/project/nest-asyncio/). Namely, before you execute any agent runs, do the following:
9+
This error is caused by conflicts between the event loops in Jupyter notebook and PydanticAI's. One way to manage these conflicts is by using [`nest-asyncio`](https://pypi.org/project/nest-asyncio/). Namely, before you execute any agent runs, do the following:
1010
```python {test="skip"}
1111
import nest_asyncio
1212

1313
nest_asyncio.apply()
1414
```
1515
Note: This fix also applies to Google Colab.
1616

17-
1817
## API Key Configuration
1918

2019
### `UserError: API key must be provided or set in the [MODEL]_API_KEY environment variable`

0 commit comments

Comments
 (0)