fastmcp/tests/tasks
Jeremiah Lowin 601903436b
Pass task-creation results through ToolResult-only middleware
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.
2026-07-23 20:09:47 -04:00
..
client Session-in-task Context API, task telemetry, settings dotenv, guard fail-loud 2026-07-23 20:05:54 -04:00
server Pass task-creation results through ToolResult-only middleware 2026-07-23 20:09:47 -04:00
__init__.py Move task subsystem to fastmcp-tasks package, disconnect SEP-1686 wire from core 2026-07-21 21:51:45 -04:00
task_helpers.py Fix ty diagnostics in task tests, scope ty exclusion to client-task files 2026-07-21 23:10:00 -04:00