fix(agents): harden update_agent null-like args (#3237)

* fix(agents): harden update_agent null-like args

* docs: mention undefined null-like update args

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
This commit is contained in:
Eilen Shin
2026-06-04 07:10:59 +08:00
committed by GitHub
parent 3fddc24c5f
commit 28b1da2172
4 changed files with 101 additions and 9 deletions
+1
View File
@@ -30,6 +30,7 @@ def test_build_self_update_section_present_for_custom_agent():
assert "<self_update>" in section
assert "my-agent" in section
assert "update_agent" in section
assert '"null"' in section
def test_build_custom_mounts_section_returns_empty_when_no_mounts(monkeypatch):