Reject WROOM pintables taken from the bare ESP32 die map.
Module pad 1 is GND; extracting ANT/XTAL as pin 1 made every ground look like a shorted antenna. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -148,8 +148,12 @@ async def run_skill_locally(
|
||||
|
||||
errors: list[str] = []
|
||||
if validator is not None:
|
||||
check = dict(payload)
|
||||
mpn_hint = re.search(r"MPN:\s*(\S+)", user_text or "", re.I)
|
||||
if mpn_hint and "mpn" not in check:
|
||||
check["mpn"] = mpn_hint.group(1).rstrip(".,;")
|
||||
try:
|
||||
errors = list(validator(payload) or [])
|
||||
errors = list(validator(check) or [])
|
||||
except Exception as exc:
|
||||
log.warning(
|
||||
"Skill %s validate.py raised: %s", skill_name, exc,
|
||||
|
||||
Reference in New Issue
Block a user