From 7bb924af6df49cddabf51a42db10e02453f2611a Mon Sep 17 00:00:00 2001 From: panda bear Date: Tue, 1 Apr 2025 16:30:39 +0200 Subject: [PATCH] Fix `python` snippet in `Core architecture` (#232) `asyncio.run` expects a coroutine, not a function. --- docs/concepts/architecture.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/concepts/architecture.mdx b/docs/concepts/architecture.mdx index 6d990e6..f9992be 100644 --- a/docs/concepts/architecture.mdx +++ b/docs/concepts/architecture.mdx @@ -267,7 +267,7 @@ Here's a basic example of implementing an MCP server: ) if __name__ == "__main__": - asyncio.run(main) + asyncio.run(main()) ```