Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure TestModel handles result retries correctly #572

Merged
merged 3 commits into from
Dec 30, 2024

Conversation

jlowin
Copy link
Collaborator

@jlowin jlowin commented Dec 30, 2024

The TestModel only handled retries in function tools, not final tools.

Copy link

cloudflare-workers-and-pages bot commented Dec 30, 2024

Deploying pydantic-ai with  Cloudflare Pages  Cloudflare Pages

Latest commit: c8705dd
Status: ✅  Deploy successful!
Preview URL: https://9051c3b2.pydantic-ai.pages.dev
Branch Preview URL: https://retry-on-testmodel.pydantic-ai.pages.dev

View logs

@samuelcolvin samuelcolvin changed the title Ensure TestModel handles result retries correctly Ensure TestModel handles result retries correctly Dec 30, 2024
@samuelcolvin samuelcolvin enabled auto-merge (squash) December 30, 2024 18:52
@samuelcolvin
Copy link
Member

thanks so much.

@samuelcolvin samuelcolvin merged commit 7d9e487 into main Dec 30, 2024
13 checks passed
@samuelcolvin samuelcolvin deleted the retry-on-testmodel branch December 30, 2024 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants