Skip to content

Commit ab12b79

Browse files
committed
fix import error in example
1 parent 42d5113 commit ab12b79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pydantic_ai_slim/pydantic_ai/models/rate_limited.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ class RateLimitedModel(WrapperModel):
3131
from aiolimiter import AsyncLimiter
3232
from tenacity import AsyncRetrying, stop_after_attempt
3333
34-
from pydantic_ai import Agent, RateLimitedModel
34+
from pydantic_ai import Agent
35+
from pydantic_ai.models import RateLimitedModel
3536
3637
model = RateLimitedModel(
3738
'anthropic:claude-3-7-sonnet-latest',

0 commit comments

Comments
 (0)