Add missing TasksCallCapability to enable proper MCP task support (#1854)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
0da9a074d0
commit
b26e5b907f
1 changed files with 6 additions and 1 deletions
|
|
@ -227,6 +227,10 @@ async def test_enable_tasks_auto_registers_handlers() -> None:
|
|||
assert caps_after.tasks is not None
|
||||
assert caps_after.tasks.list is not None
|
||||
assert caps_after.tasks.cancel is not None
|
||||
# Verify nested call capability is present
|
||||
assert caps_after.tasks.requests is not None
|
||||
assert caps_after.tasks.requests.tools is not None
|
||||
assert caps_after.tasks.requests.tools.call is not None
|
||||
|
||||
|
||||
@pytest.mark.anyio
|
||||
|
|
|
|||
Loading…
Reference in a new issue