Jeremiah Lowin
302eb9c3f5
Remove invalid-argument-type ignore and fix type errors ( #1588 )
...
Co-authored-by: Jeremiah Lowin <jlowin@users.noreply.github.com>
Co-authored-by: marvin-context-protocol[bot] <225465937+marvin-context-protocol[bot]@users.noreply.github.com>
2025-08-22 20:19:22 -04:00
William Easton
d32a2b953e
✨ Fallback to a Completions API when Sampling is not available ( #1145 )
2025-08-21 07:49:29 -04:00
hopeful0
ca74b44d62
Refactor get_http_request and context.session_id ( #1242 )
2025-07-23 10:05:46 -04:00
Mukul Murthy
544bc22baa
Add state dict to Context ( #1118 ) ( #1160 )
...
Co-authored-by: Jeremiah Lowin <153965+jlowin@users.noreply.github.com>
2025-07-22 10:03:33 -04:00
Jeremiah Lowin
60c6441d7b
Fix formatting per pre-commit hooks
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-19 18:22:02 -04:00
Jeremiah Lowin
942fd5c13e
Add session_id property to Context for session-based data sharing
...
Exposes MCP session ID from HTTP headers to enable Redis-based data sharing
between tools. Returns None for stdio/memory transports as expected.
Fixes #875 , addresses python-sdk#986, python-sdk#942, python-sdk#485
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-19 18:16:34 -04:00
davenpi
9122833998
Expose model preferences in ctx.sample
2025-05-21 19:34:45 -04:00
Jeremiah Lowin
4b4d806fd5
Note that get_http_request is deprecated
2025-05-06 22:24:26 -04:00