Repository navigation
Drill · lap 2 · 3/10 · TOOL-102 · Catch a hallucinated argument before it crashes the tool #91
akash-coded
started this conversation in
Hands-on Labs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
3 of 10 · TOOL-102 · Catch a hallucinated argument before it crashes the tool
tools· medium ·implement· ~12 min · no AWS accountModels invent parameter names.
booking_referenceinstead ofbooking_ref.flightinstead offlight_no. Left alone, that is aTypeErrorfrom**kwargs— the single most common dispatch crash in production. Validate first, and answer in a way the model can act on.What this proves
That you treat model-supplied arguments as untrusted input, and that your error message does the one thing that lets the model self-correct: it says what would have been valid.
Submit in this thread
Copy the block from the brief, edit it, and post it as a comment here. The bot replies within a couple of minutes with every check, the skill you demonstrated, and what to do next.
Brief in the repo: labs/drills/tools/TOOL-102 · next in the sequence:
MEM-102· how grading works · scoreboardAll reactions