Skip to content

Commit e53c226

Browse files
committed
Fix confusing multi-step example in "prompts"
1 parent 00509dd commit e53c226

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/concepts/prompts.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ const debugWorkflow = {
169169
role: "user",
170170
content: {
171171
type: "text",
172-
text: "Here's an error I'm seeing:"
172+
text: `Here's an error I'm seeing: ${error}`
173173
}
174174
},
175175
{
@@ -183,7 +183,7 @@ const debugWorkflow = {
183183
role: "user",
184184
content: {
185185
type: "text",
186-
text: error
186+
text: "I've tried restarting the service, but the error persists."
187187
}
188188
}
189189
];

0 commit comments

Comments
 (0)