Skip to content

Conversation

simonw
Copy link
Contributor

@simonw simonw commented Nov 25, 2024

You can't do async with ... outside of an async def function.

You can't do async with ... outside of an async def function
@simonw
Copy link
Contributor Author

simonw commented Nov 25, 2024

After applying this fix you can save the code as /tmp/demo.py and configure it in the inspector like this:

CleanShot 2024-11-25 at 08 45 09@2x

Copy link
Member

@dsp-ant dsp-ant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much @simonw !

@dsp-ant dsp-ant enabled auto-merge November 25, 2024 20:02
@dsp-ant dsp-ant merged commit e414828 into modelcontextprotocol:main Nov 25, 2024
3 checks passed
@simonw simonw deleted the patch-1 branch November 25, 2024 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants