mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-24 06:24: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 |
||
|---|---|---|
| .. | ||
| cli | ||
| client | ||
| contrib | ||
| deprecated | ||
| experimental | ||
| integration_tests | ||
| prompts | ||
| resources | ||
| server | ||
| tools | ||
| utilities | ||
| __init__.py | ||
| conftest.py | ||
| test_mcp_config.py | ||