Back to Prompt Library
testing

Test Adaptive Reasoning with Failure Injection

Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.

Linked challenge: Multi-Modal Image Editing Agent

Format
Text-first
Lines
1
Sections
1
Linked challenge
Multi-Modal Image Editing Agent

Prompt source

Original prompt text with formatting preserved for inspection.

1 lines
1 sections
No variables
0 checklist items
Test the agent's 'extended thinking' capability by introducing a simulated failure during tool execution (e.g., a tool returns an error for invalid parameters). Observe how the agent adapts its plan or seeks clarification using Gemini 2.5 Pro. Document the agent's decision-making process in response to the failure.

Adaptation plan

Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.

Keep stable

Preserve the rubric, target behavior, and pass-fail criteria as the baseline for evaluation.

Tune next

Adjust fixtures, mocks, and thresholds to the system under test instead of weakening the assertions.

Verify after

Make sure the prompt catches regressions instead of just mirroring the happy-path examples.