Skip to content

Commit

Permalink
fix: bring anthropic chat template up-to-date (#1669)
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie authored Sep 5, 2024
1 parent a7e8b03 commit 693b78f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 45 deletions.
44 changes: 0 additions & 44 deletions examples/chat/hello-providers/anthropic/app.py

This file was deleted.

2 changes: 1 addition & 1 deletion shiny/templates/chat/hello-providers/anthropic/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async def _():
messages = chat.messages(format="anthropic")
# Create a response message stream
response = await llm.messages.create(
model="claude-3-opus-20240229",
model="claude-3-5-sonnet-20240620",
messages=messages,
stream=True,
max_tokens=1000,
Expand Down

0 comments on commit 693b78f

Please sign in to comment.