diff --git a/skills/rig/samples/25-migration-guide.md b/skills/rig/samples/25-migration-guide.md index 6c24740..825ad6a 100644 --- a/skills/rig/samples/25-migration-guide.md +++ b/skills/rig/samples/25-migration-guide.md @@ -9,7 +9,7 @@ const improve = agent({ message: s.string, explanation: s.string }), - instructions: `Rewrite the error to be actionable and precise.`, + instructions: `Rewrite the following error to be actionable and precise:\n\nTypeError: Cannot read properties of undefined (reading 'map') at Array.forEach ()\n at processItems (src/processor.ts:23:18)`, }); export default improve; diff --git a/skills/rig/samples/61-genaiscript-list-files-port.md b/skills/rig/samples/61-genaiscript-list-files-port.md index a697efa..60b08e3 100644 --- a/skills/rig/samples/61-genaiscript-list-files-port.md +++ b/skills/rig/samples/61-genaiscript-list-files-port.md @@ -4,7 +4,7 @@ import { agent, p, s } from "rig"; // Agent role: pick the most interesting rig sample files. const listFilesPort = agent({ - model: "nano", + model: "mini", instructions: p`Review ${p.bash("find skills/rig/samples -maxdepth 1 -name '*.md' | sort")}. Select the 3 most interesting sample files.`, output: s.object({ files: s.array(s.string) }), });