Skip to content

Commit 693b78f

Browse files
authored
fix: bring anthropic chat template up-to-date (#1669)
1 parent a7e8b03 commit 693b78f

File tree

2 files changed

+1
-45
lines changed
  • examples/chat/hello-providers/anthropic
  • shiny/templates/chat/hello-providers/anthropic

2 files changed

+1
-45
lines changed

examples/chat/hello-providers/anthropic/app.py

Lines changed: 0 additions & 44 deletions
This file was deleted.

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-opus-20240229",
38+
model="claude-3-5-sonnet-20240620",
3939
messages=messages,
4040
stream=True,
4141
max_tokens=1000,

0 commit comments

Comments
 (0)