From 07a77e066fa515b7fdf526639b3d3c077ca45dd4 Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Wed, 19 Mar 2025 23:18:30 -0400 Subject: [PATCH] Update to Claude 3.7 Sonnet latest in examples --- examples/foundational/14a-function-calling-anthropic.py | 2 +- examples/foundational/14b-function-calling-anthropic-video.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/foundational/14a-function-calling-anthropic.py b/examples/foundational/14a-function-calling-anthropic.py index 13505550b..923b1488d 100644 --- a/examples/foundational/14a-function-calling-anthropic.py +++ b/examples/foundational/14a-function-calling-anthropic.py @@ -57,7 +57,7 @@ async def main(): ) llm = AnthropicLLMService( - api_key=os.getenv("ANTHROPIC_API_KEY"), model="claude-3-5-sonnet-20240620" + api_key=os.getenv("ANTHROPIC_API_KEY"), model="claude-3-7-sonnet-latest" ) llm.register_function("get_weather", get_weather) diff --git a/examples/foundational/14b-function-calling-anthropic-video.py b/examples/foundational/14b-function-calling-anthropic-video.py index 8c49900fa..302722be2 100644 --- a/examples/foundational/14b-function-calling-anthropic-video.py +++ b/examples/foundational/14b-function-calling-anthropic-video.py @@ -67,8 +67,7 @@ async def main(): llm = AnthropicLLMService( api_key=os.getenv("ANTHROPIC_API_KEY"), - # model="claude-3-5-sonnet-20240620", - model="claude-3-5-sonnet-latest", + model="claude-3-7-sonnet-latest", enable_prompt_caching_beta=True, ) llm.register_function("get_weather", get_weather)