Skip to content

Don't crash agent on MCP server disconnected #2310

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Kludex
Copy link
Member

@Kludex Kludex commented Jul 25, 2025

No description provided.

@Kludex Kludex force-pushed the mcp-server-recover-from-disconnect branch from 2028184 to e6824c9 Compare July 25, 2025 10:48
@Kludex Kludex requested a review from DouweM July 25, 2025 10:48
Copy link

github-actions bot commented Jul 25, 2025

Docs Preview

commit: e6824c9
Preview URL: https://94eaa556-pydantic-ai-previews.pydantic.workers.dev

@DouweM
Copy link
Contributor

DouweM commented Jul 25, 2025

@Kludex Looks good, we just need some tests :)

@Kludex
Copy link
Member Author

Kludex commented Jul 25, 2025

I think this doesn't solve the whole issue. Because if the user manually start async with agent then it will not recover.

@DouweM
Copy link
Contributor

DouweM commented Jul 28, 2025

@Kludex Is this related to #2312?

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