Commit 40529cf
fix: use environment variable for FastMCP stateless_http mode
Use FASTMCP_STATELESS_HTTP env var instead of constructor parameter
to avoid deprecation warning in FastMCP >= 2.x.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 3b6e97b commit 40529cf
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
67 | 71 | | |
68 | | - | |
69 | | - | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
| |||
0 commit comments