Use claude-sonnet-4-5-20250929 model name

This commit is contained in:
Jeremiah Lowin 2025-12-09 19:29:02 -05:00
commit 5d57f5bd0f
7 changed files with 7 additions and 7 deletions

View file

@ -287,7 +287,7 @@ from fastmcp import Client
from fastmcp.server.sampling.anthropic import AnthropicSamplingHandler
handler = AnthropicSamplingHandler(
default_model="claude-sonnet-4-20250514",
default_model="claude-sonnet-4-5-20250929",
client=Anthropic(), # Uses ANTHROPIC_API_KEY env var
)

View file

@ -466,7 +466,7 @@ from fastmcp.server.sampling.anthropic import AnthropicSamplingHandler
server = FastMCP(
name="Sampling Server",
sampling_handler=AnthropicSamplingHandler(
default_model="claude-sonnet-4-20250514",
default_model="claude-sonnet-4-5-20250929",
),
sampling_handler_behavior="fallback",
)