fastmcp/tests/client/sampling/handlers
Jeremiah Lowin 734b93b999
Support ImageContent and AudioContent in sampling handlers (#3550)
* feat: support ImageContent and AudioContent in sampling handlers

Co-authored-by: Claude <noreply@anthropic.com>

* Validate image MIME types, fix silent drop in assistant list messages

* Reject image/audio in assistant messages with tool_calls

* Reject ImageContent in assistant messages for Anthropic

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-03-18 15:25:16 -04:00
..
__init__.py Unify SamplingHandler and promote OpenAI handler (#2616) 2025-12-14 15:22:43 -05:00
test_anthropic_handler.py Support ImageContent and AudioContent in sampling handlers (#3550) 2026-03-18 15:25:16 -04:00
test_google_genai_handler.py Support ImageContent and AudioContent in sampling handlers (#3550) 2026-03-18 15:25:16 -04:00
test_openai_handler.py Support ImageContent and AudioContent in sampling handlers (#3550) 2026-03-18 15:25:16 -04:00