Repository navigation
fix: use claude-sonnet-5-5 in chat agent snippet and skills #5152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@trigger.dev/sdk": patch | ||
| --- | ||
|
|
||
| The chat agent skills shipped in the SDK and the dashboard's new-project chat agent snippet now use `claude-sonnet-5-5` instead of `claude-sonnet-4-5`. Anthropic retires `claude-sonnet-4-5` on November 30, 2026; agents generated from these templates would fail on the first turn after that date. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -231,7 +231,7 @@ export const myChat = chat.agent({ | |
| } | ||
| }, | ||
| run: async ({ messages, signal, streamText }) => | ||
| streamText({ model: anthropic("claude-sonnet-4-5"), messages, abortSignal: signal }), | ||
| streamText({ model: anthropic("claude-sonnet-5-5"), messages, abortSignal: signal }), | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔍 Head Start examples use different models Pairing the examples for Was this helpful? React with 👍 or 👎 to provide feedback. |
||
| }); | ||
| ``` | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔍 Missing bundled pricing for Sonnet 5.5
The default prices cover Sonnet 4.5 but not Sonnet 5.5. Span enrichment skips usage rows when neither the pricing registry nor the provider supplies a cost.
Was this helpful? React with 👍 or 👎 to provide feedback.