Repository navigation
fix(test): count run_python among ChatAgent's inline tools - #4016
Conversation
Main's Gaia Agent Tests fail since amd#3994: the coding skill now requires run_python, which ChatAgent registers inline like execute_python_file, but the skill test's list of inline tools didn't name it. The name is still checked against agent.py's source, so a rename can't slip past.
|
Verdict: Approve One-word fix to a test list that fell behind the code: the coding skill started requiring a tool that ChatAgent registers directly, but the test's list of such tools hadn't been updated, so main's Gaia Agent Tests went red. Adding the name turns it green without weakening the check — the test still confirms the tool really exists in the agent's source, so a rename or deletion would still fail. No blocking issues. Real-world evidenceN/A — tests-only change, no user-visible surface, and no 🔍 Technical detailsVerified the premise holds (no findings):
Observation, not a finding: the source-scan check proves the Strengths
|
The coding starter skill declares run_python, which ChatAgent registers inline rather than through a mixin, so the starter-skill tool check called it a tool no mixin registers and Test Gaia Agent failed. Mirrors amd#4016 so this stack tip is green without waiting on that PR.
Main's Gaia Agent Tests have failed since #3994 merged. The coding skill now lists
run_pythonas a required tool, and the skill test only accepts tools it knows are registered.run_pythonis registered directly by ChatAgent, the same way asexecute_python_fileright beside it, but the test's list of such tools didn't include it. Adding it turns main green. The name is still checked against the agent's source, so a rename would still be caught.Test plan
pytest tests/unit/test_starter_skills.py: 188 passed, 15 skipped. Before this changetest_starter_skill_tools_required_are_real_tools[coding]fails on main withcoding declares tools_required that no mixin registers: run_python, matching CI run 35417717225.