Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ export const myChat = chat.agent({
run: async ({ messages, signal }) => {
return streamText({
...chat.toStreamTextOptions(),
model: anthropic("claude-sonnet-4-5"),
model: anthropic("claude-sonnet-5-5"),
messages,
abortSignal: signal,
stopWhen: stepCountIs(15),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const myChat = chat.agent({
// `streamText` below is the SDK's, from the run argument. See "Common mistakes".
run: async ({ messages, signal, streamText }) =>
streamText({
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 SDK changeset for chat skills

The SDK publish manifest ships the chat skills, but this PR adds no patch changeset. The fix reaches installed skills only with a new SDK release.

Devin Review


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

messages,
abortSignal: signal,
stopWhen: stepCountIs(15),
Expand Down Expand Up @@ -136,7 +136,7 @@ export const agentChat = chat.agent({
// `chat.toStreamTextOptions()` is the alternative when threading it down is impractical.
async function runAgentLoop(messages: ModelMessage[], streamText: ChatStreamText) {
const result = streamText({
model: anthropic("claude-sonnet-4-5"),
model: anthropic("claude-sonnet-5-5"),
messages,
});
await chat.pipe(result); // works from anywhere in the task
Expand Down Expand Up @@ -165,7 +165,7 @@ export const myChat = chat.agent({
tools, // so toModelOutput survives across turns
run: async ({ messages, tools, signal, streamText }) =>
streamText({
model: anthropic("claude-sonnet-4-5"),
model: anthropic("claude-sonnet-5-5"),
messages,
tools, // same set, handed back typed
abortSignal: signal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }),

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.

🔍 Different models across Head Start examples

The nearby Head Start handler still uses Sonnet 4.6 for my-chat. Developers combining the snippets get different models on either side of the handoff.

Devin Review


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

});
```

Expand Down