Replies: 1 comment
-
have you managed to do that? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a middleware that I'm using with FastAPI that I'm trying to reuse in FastMCP in the spirit of DRY:
The problem is, the State object seems to not have anything in it in my MCP tool:
It's blank
AttributeError: 'State' object has no attribute 'user_id'
I'm adding the middleware like:
Any ideas what I'm doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions