File: scripts/run_examples.sh
Symptom: The script reports success having run zero examples.
Cause: It globs "$EXAMPLES_DIR"/[0-9]*.py where EXAMPLES_DIR is examples/. No numbered .py files live there — all 153 are in examples/agents/. Its own HITL_STDIN map names 02_tools and 09_human_in_the_loop, which resolve only under examples/agents/, so it predates the reorganisation.
Fix: Point the glob at examples/agents/ (and decide whether to recurse into its subdirectories, which hold ~148 more examples).
Verify: The script collects a non-zero example count and fails when an example fails.
Related: examples/agents/run_all_examples.py has the narrower version of this — discover() is HERE.glob("*.py"), so it never sees quickstart/, langgraph/, adk/, openai/, claude_agent_sdk/ or blog-and-video-examples/.
File:
scripts/run_examples.shSymptom: The script reports success having run zero examples.
Cause: It globs
"$EXAMPLES_DIR"/[0-9]*.pywhereEXAMPLES_DIRisexamples/. No numbered.pyfiles live there — all 153 are inexamples/agents/. Its ownHITL_STDINmap names02_toolsand09_human_in_the_loop, which resolve only underexamples/agents/, so it predates the reorganisation.Fix: Point the glob at
examples/agents/(and decide whether to recurse into its subdirectories, which hold ~148 more examples).Verify: The script collects a non-zero example count and fails when an example fails.
Related:
examples/agents/run_all_examples.pyhas the narrower version of this —discover()isHERE.glob("*.py"), so it never seesquickstart/,langgraph/,adk/,openai/,claude_agent_sdk/orblog-and-video-examples/.