Skip to content

Revert "Use contextvars for tracking the MCP sampling model" #2132

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

Merged
merged 1 commit into from
Jul 4, 2025

Conversation

DouweM
Copy link
Contributor

@DouweM DouweM commented Jul 4, 2025

Reverts #2117

The override_sampling_model context manager didn't work when already the async with agent.run_mcp_servers() context, so let's remove it to not suggest that it would.

@DouweM DouweM enabled auto-merge (squash) July 4, 2025 15:10
@DouweM DouweM merged commit d10f036 into main Jul 4, 2025
12 checks passed
@DouweM DouweM deleted the revert-2117-dmontagu/fix-run-mcp-servers branch July 4, 2025 15:18
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.

1 participant