refactor: move mcp auth record ownership

This commit is contained in:
lda
2026-06-06 15:01:39 +07:00 Verified
parent 0028528269
commit a28ca5434a
150 changed files with 557 additions and 549 deletions
+1 -3
View File
@@ -275,9 +275,7 @@ async def test_generated_specs_use_injected_tool_executor() -> None:
spec = service._get_qualified_spec("demo.personal.echo_tool")
handler = build_async_registry(spec)[spec.name]
result = await handler(
{"text": "hello"}, RuntimeContext(current_node_id="echo")
)
result = await handler({"text": "hello"}, RuntimeContext(current_node_id="echo"))
assert result["outcome"] == "ok"
assert result["output"]["echoed"] == "hello"