BabyChrist666

Results comments of BabyChrist666

I dug into this and can confirm both issues: **1. Sync `maybe_transform` blocking the event loop in `AsyncMessages.stream()`** `src/anthropic/resources/messages/messages.py:2557` — the async `stream()` method on `AsyncMessages` calls the synchronous `maybe_transform()`...

Thanks for confirming! The core issue is that this SDK is Stainless-generated, so the fix needs to happen upstream in the code generator: 1. **The `stream()` sync/async mismatch** (using `maybe_transform`...

Fix submitted in #2078. **Root cause:** Between v1.11.0 and v1.12.0, the client OAuth flow changed from eager discovery (discover → auth → send MCP request) to lazy discovery (send unauthenticated...

Opened a PR to fix this: #2067 The fix removes the restrictive regex pattern from `Resource.mime_type` and replaces it with a lightweight `field_validator` that only checks for the presence of...

Opened a PR to fix this: #2071 The fix replaces the fixed-duration `anyio.sleep()` calls with a `_wait_for_file_growth()` polling helper that waits until the marker file exists and is actively growing,...

Opened a PR to fix this: #2073 Two changes: 1. Enhanced `wait_for_server()` with a two-stage readiness check — after TCP connect succeeds, it now makes an actual HTTP request to...

This was fixed in #1854 (merged Jan 15) — the `TasksToolsCapability()` was missing the `call=TasksCallCapability()` argument in `update_capabilities()`. Before the fix: ```python capabilities.tasks.requests = ServerTasksRequestsCapability( tools=TasksToolsCapability() # call was None...

@LucaButBoring The fix is present on `main` and was included in v1.26.0 (released Jan 24). The line you linked ([experimental.py:L81](https://github.com/modelcontextprotocol/python-sdk/blob/1ef124e4a85c1c0947fdc6ba1dd1af384d866064/src/mcp/server/lowlevel/experimental.py#L81)) shows: ```python capabilities.tasks.requests = ServerTasksRequestsCapability( tools=TasksToolsCapability(call=TasksCallCapability()) ) ``` That `call=TasksCallCapability()`...

You're absolutely right, apologies for the incorrect info! I double-checked: - PR #1854 was merged to `main` on Jan 15 - v1.26.0 was tagged on Jan 24 from the `v1.x`...

Opened #2137 to backport the fix to `v1.x` so it ships in the next release.