Skip to content

fix: use claude-sonnet-5-5 in chat agent snippet and skills - #5152

Closed
NickFasulo wants to merge 1 commit into
triggerdotdev:mainfrom
NickFasulo:fix/chat-agent-model-id
Closed

NickFasulo wants to merge 1 commit into
triggerdotdev:mainfrom
NickFasulo:fix/chat-agent-model-id

Conversation

@NickFasulo

Copy link
Copy Markdown

Closes #5142

✅ Checklist

  • I have followed every step in the contributing guide
  • The PR title follows the convention.
  • I ran and tested the code works

Testing

Verified the only remaining claude-sonnet-4-5 references are in internal-packages/llm-model-catalog (price/match data for historical usage) and apps/webapp/seed-ai-spans.mts (seeded span fixtures), which intentionally keep the retired model ID.


Changelog

Replaced anthropic("claude-sonnet-4-5") with anthropic("claude-sonnet-5-5") in:

  • the dashboard's new-project chat agent snippet (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/sdk since skills/ is in the published package's files.

Note: trigger-chat-agent-advanced/SKILL.md also references claude-haiku-4-5 (L192) and claude-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.

@changeset-bot

changeset-bot Bot commented Nov 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2908f3d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 31 packages
Name Type
@trigger.dev/sdk Patch
@trigger.dev/linear Patch
@trigger.dev/python Patch
@trigger.dev/slack Patch
@internal/dashboard-agent Patch
@trigger.dev/build Patch
trigger.dev Patch
@trigger.dev/convex Patch
@trigger.dev/core Patch
@trigger.dev/react-hooks Patch
@trigger.dev/redis-worker Patch
@trigger.dev/rsc Patch
@trigger.dev/schema-to-json Patch
@trigger.dev/billing Patch
@trigger.dev/database Patch
@trigger.dev/otlp-importer Patch
@trigger.dev/rbac Patch
@trigger.dev/sso Patch
@internal/clickhouse Patch
@internal/llm-model-catalog Patch
@internal/metrics-pipeline Patch
@internal/redis Patch
@internal/replication Patch
@internal/run-engine Patch
@internal/run-store Patch
@internal/schedule-engine Patch
@internal/tracing Patch
@internal/webhook-engine Patch
@internal/webhook-sources Patch
@internal/testcontainers Patch
@internal/cache Patch

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

@github-actions

Copy link
Copy Markdown
Contributor

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.

@github-actions github-actions Bot closed this Nov 23, 2026
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 2 potential issues.

Devin Review

},
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 }),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 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.

Devin Review


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"),

Copy link
Copy Markdown
Contributor

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.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: dashboard chat agent snippet and SDK chat-agent skills use claude-sonnet-4-5, retired by Anthropic on 30 Nov 2026

1 participant