mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 15:19:10 +02:00
A task-augmented tools/call returns a CreateTaskResult up through the middleware chain. Response caching and response limiting assumed a ToolResult and accessed .content/.wrap(), crashing after the task was already enqueued (a client retry could duplicate side effects). Both now pass any non-ToolResult through untouched, alongside the existing InputRequiredToolResult bypass. |
||
|---|---|---|
| .. | ||
| client | ||
| server | ||
| __init__.py | ||
| task_helpers.py | ||