Skip to content

Instantly share code, notes, and snippets.

View CyberBigfoot's full-sized avatar

Grant CyberBigfoot

View GitHub Profile
@CyberBigfoot
CyberBigfoot / Hermes Codex Patch
Created May 27, 2026 13:17
Fix For Hermes "TypeError: 'NoneType' object is not iterable"
python3 << 'EOF'
path = "/usr/local/lib/hermes-agent/agent/codex_runtime.py"
with open(path, "r") as f:
lines = f.readlines()
target_line = None
for i, line in enumerate(lines):
if "except RuntimeError as exc:" in line:
target_line = i
break