From e53c2269649ad63456a7e53b3fba287818eacb26 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Sat, 23 Nov 2024 19:30:25 -0600 Subject: [PATCH] Fix confusing multi-step example in "prompts" --- docs/concepts/prompts.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/concepts/prompts.mdx b/docs/concepts/prompts.mdx index 91c005d..80694b6 100644 --- a/docs/concepts/prompts.mdx +++ b/docs/concepts/prompts.mdx @@ -169,7 +169,7 @@ const debugWorkflow = { role: "user", content: { type: "text", - text: "Here's an error I'm seeing:" + text: `Here's an error I'm seeing: ${error}` } }, { @@ -183,7 +183,7 @@ const debugWorkflow = { role: "user", content: { type: "text", - text: error + text: "I've tried restarting the service, but the error persists." } } ];