use patch instead of apatch

This commit is contained in:
Philip Nuzhnyi 2024-08-28 14:59:26 +01:00 committed by GitHub
parent f1147696a3
commit 824794e844
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,7 +57,7 @@ from litellm import Router
import instructor, asyncio
from pydantic import BaseModel
aclient = instructor.apatch(
aclient = instructor.patch(
Router(
model_list=[
{
@ -92,4 +92,4 @@ async def main():
asyncio.run(main())
```
```