mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-19 12:04:18 +02:00
* Add AnthropicSamplingHandler Adds a sampling handler for the Anthropic API at fastmcp.client.sampling.handlers.anthropic, alongside the existing OpenAI handler. Includes full support for tool calling. Install with: pip install fastmcp[anthropic] * Update default model * Update sampling docs to cover both OpenAI and Anthropic handlers * Use AsyncAnthropic, fix falsy value handling, handle tool_choice none * Propagate isError to Anthropic, join multiple text blocks, fix docs |
||
|---|---|---|
| .. | ||
| auth | ||
| sampling | ||
| tasks | ||
| transports | ||
| __init__.py | ||
| test_client.py | ||
| test_elicitation.py | ||
| test_logs.py | ||
| test_notifications.py | ||
| test_oauth_callback_xss.py | ||
| test_openapi.py | ||
| test_progress.py | ||
| test_roots.py | ||
| test_sampling.py | ||
| test_sse.py | ||
| test_stdio.py | ||
| test_streamable_http.py | ||