Repository navigation
fix: use claude-sonnet-5-5 in chat agent snippet and skills - #5152
NickFasulo wants to merge 1 commit into
Conversation
🦋 Changeset detectedLatest commit: 2908f3d The changes in this PR will be included in the next version bump. This PR includes changesets to release 31 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Hi @NickFasulo, thanks for your interest in contributing! This project requires that pull request authors are vouched, and you are not in the list of vouched users. This PR will be closed automatically. See https://github.com/triggerdotdev/trigger.dev/blob/main/CONTRIBUTING.md for more details. |
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
| }, | ||
| 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 }), |
There was a problem hiding this comment.
🔍 Head Start examples use different models
Pairing the examples for my-chat sends the first step to Sonnet 4.6 and the continuation to Sonnet 5.5. The Head Start guide requires matching models when replaying thinking blocks.
Was this helpful? React with 👍 or 👎 to provide feedback.
| return streamText({ | ||
| ...chat.toStreamTextOptions(), | ||
| model: anthropic("claude-sonnet-4-5"), | ||
| model: anthropic("claude-sonnet-5-5"), |
There was a problem hiding this comment.
🔍 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.
Closes #5142
✅ Checklist
Testing
Verified the only remaining
claude-sonnet-4-5references are ininternal-packages/llm-model-catalog(price/match data for historical usage) andapps/webapp/seed-ai-spans.mts(seeded span fixtures), which intentionally keep the retired model ID.Changelog
Replaced
anthropic("claude-sonnet-4-5")withanthropic("claude-sonnet-5-5")in:apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam._index/route.tsx)packages/trigger-sdk/skills/trigger-authoring-chat-agent/SKILL.md(3 occurrences)packages/trigger-sdk/skills/trigger-chat-agent-advanced/SKILL.md(1 occurrence)Includes a patch changeset for
@trigger.dev/sdksinceskills/is in the published package'sfiles.Note:
trigger-chat-agent-advanced/SKILL.mdalso referencesclaude-haiku-4-5(L192) andclaude-sonnet-4-6(L265). Left those alone since they're different model IDs — flagging in case they need their own pass.Screenshots
N/A — string literal change in template code and skills docs.