From f8f70695f053f25a51763df734dfdfb38812aa7a Mon Sep 17 00:00:00 2001 From: Lasmar Khalifa Date: Wed, 6 May 2026 18:42:49 -0400 Subject: [PATCH] Fix minor tutorial docs mistakes --- tutorial/01_your_first_workflow/README.md | 2 +- tutorial/02_chaining_cogs/README.md | 4 ++-- tutorial/03_targets_and_params/README.md | 2 +- tutorial/08_iterative_workflows/README.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tutorial/01_your_first_workflow/README.md b/tutorial/01_your_first_workflow/README.md index d425bebe..03412a96 100644 --- a/tutorial/01_your_first_workflow/README.md +++ b/tutorial/01_your_first_workflow/README.md @@ -58,7 +58,7 @@ That's it! Everything happens inside the `execute do ... end` block. ## Your First Chat Cog -The `chat` cog sends a prompt to a cloud-based LLM and gets a response back. Here's a simplest example: +The `chat` cog sends a prompt to a cloud-based LLM and gets a response back. Here's a simple example: ```ruby execute do diff --git a/tutorial/02_chaining_cogs/README.md b/tutorial/02_chaining_cogs/README.md index a864913d..d01336d5 100644 --- a/tutorial/02_chaining_cogs/README.md +++ b/tutorial/02_chaining_cogs/README.md @@ -42,11 +42,11 @@ end ``` This returns the cog's output, or `nil` if the cog didn't run (we'll learn about conditionally skipping steps in a later -lesson. +lesson). ### Different Output Methods -Different cog types provide different types of output. Here are few highlights: +Different cog types provide different types of output. Here are a few highlights: - `chat(:name).response` - The text response from a chat cog - `agent(:name).response` - The text response from an agent cog diff --git a/tutorial/03_targets_and_params/README.md b/tutorial/03_targets_and_params/README.md index ddef8661..181cdc26 100644 --- a/tutorial/03_targets_and_params/README.md +++ b/tutorial/03_targets_and_params/README.md @@ -177,7 +177,7 @@ execute do agent(:process) do files = targets.join("\n") format = kwarg(:format) || "detailed" - "Process these files and provide a #{format} report:\n#{files}) " + "Process these files and provide a #{format} report:\n#{files} " end cmd(:grep_pattern) do diff --git a/tutorial/08_iterative_workflows/README.md b/tutorial/08_iterative_workflows/README.md index f61ce933..6a67da1a 100644 --- a/tutorial/08_iterative_workflows/README.md +++ b/tutorial/08_iterative_workflows/README.md @@ -89,7 +89,7 @@ execute(:process_numbers) do ruby(:check) do |_, _, index| # Skip processing for multiples of 3 if index % 3 == 0 - puts " Skipping every third 3 iteration" + puts " Skipping every third iteration" next! end puts "Processing #{index}"