mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 21:44:18 +02:00
Use claude-sonnet-4-5-20250929 model name
This commit is contained in:
parent
179874628e
commit
5d57f5bd0f
7 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue