mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-10 07:39:10 +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 |
||
|---|---|---|
| .. | ||
| handlers | ||
| __init__.py | ||