Adaptive Re-planning Scenario Prompt

testingChallengeNovember 20, 2025

Prompt Content

Simulate a scenario where the 'brew_espresso' tool initially fails due to 'low_water'. Implement a mechanism for the Langroid agent, utilizing GPT-5's adaptive thinking, to detect this failure, identify the root cause, and then re-plan the task by first invoking 'add_water'.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations