Skip to content

Commit b1019b9

Browse files
committed
Update examples to claude-3-5-sonnet-20241022
1 parent 8a60787 commit b1019b9

File tree

2 files changed

+2
-2
lines changed
  • shiny/templates/chat

2 files changed

+2
-2
lines changed

shiny/templates/chat/hello-providers/anthropic/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ async def _():
3535
messages = chat.messages(format="anthropic")
3636
# Create a response message stream
3737
response = await llm.messages.create(
38-
model="claude-3-5-sonnet-20240620",
38+
model="claude-3-5-sonnet-20241022",
3939
messages=messages,
4040
stream=True,
4141
max_tokens=1000,

shiny/templates/chat/production/anthropic/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525

2626
MODEL_INFO = {
27-
"name": "claude-3-5-sonnet-20240620",
27+
"name": "claude-3-5-sonnet-20241022",
2828
# DISCLAIMER: Anthropic has not yet released a public tokenizer for Claude models,
2929
# so this uses the generic default provided by Chat() (for now). That is probably
3030
# ok though since the default tokenizer likely overestimates the token count.

0 commit comments

Comments
 (0)