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

@ -49,7 +49,7 @@ class LoggingAnthropicHandler(AnthropicSamplingHandler):
mcp = FastMCP(
"Server with Fallback",
sampling_handler=LoggingAnthropicHandler(default_model="claude-sonnet-4-20250514"),
sampling_handler=LoggingAnthropicHandler(default_model="claude-sonnet-4-5-20250929"),
)

View file

@ -110,7 +110,7 @@ async def main():
)
console.print()
handler = LoggingAnthropicHandler(default_model="claude-sonnet-4-20250514")
handler = LoggingAnthropicHandler(default_model="claude-sonnet-4-5-20250929")
test_texts = [
("I love this! Best purchase ever!", "😊"),

View file

@ -105,7 +105,7 @@ async def main():
)
console.print()
handler = LoggingAnthropicHandler(default_model="claude-sonnet-4-20250514")
handler = LoggingAnthropicHandler(default_model="claude-sonnet-4-5-20250929")
async with Client(mcp, sampling_handler=handler) as client:
# Example 1

View file

@ -133,7 +133,7 @@ async def main():
)
console.print()
handler = LoggingAnthropicHandler(default_model="claude-sonnet-4-20250514")
handler = LoggingAnthropicHandler(default_model="claude-sonnet-4-5-20250929")
questions = [
"What's 15% tip on a $47.50 bill?",