Bug Description
Hermes stopped working with ChatGPT integration, replying only:
Error: 'NoneType' object is not iterable
Full dump:
⚠️ API call failed (attempt 1/3): TypeError
🔌 Provider: openai-codex Model: gpt-5.5
🌐 Endpoint: https://chatgpt.com/backend-api/codex
📝 Error: 'NoneType' object is not iterable
⚠️ Non-retryable error (HTTP None) — trying fallback...
❌ Non-retryable error (HTTP None): 'NoneType' object is not iterable
❌ Non-retryable client error (HTTP None). Aborting.
🔌 Provider: openai-codex Model: gpt-5.5
🌐 Endpoint: https://chatgpt.com/backend-api/codex
💡 This type of error won't be fixed by retrying.
Hey! What can I help you with?
Steps to Reproduce
- Run hermes with
Provider: openai-codex Model: gpt-5.5
- Try any message in chat via Telegram, cli etc.
Expected Behavior
Hermes endpoint provider (https://chatgpt.com/backend-api/codex) should handle all code branches and never error on python error (NoneType).
Actual Behavior
As above, errors out
Affected Component
Agent Core (conversation loop, context compression, memory)
Messaging Platform (if gateway-related)
No response
Debug Report
⚠️ API call failed (attempt 1/3): TypeError
🔌 Provider: openai-codex Model: gpt-5.5
🌐 Endpoint: https://chatgpt.com/backend-api/codex
📝 Error: 'NoneType' object is not iterable
⚠️ Non-retryable error (HTTP None) — trying fallback...
❌ Non-retryable error (HTTP None): 'NoneType' object is not iterable
❌ Non-retryable client error (HTTP None). Aborting.
🔌 Provider: openai-codex Model: gpt-5.5
🌐 Endpoint: https://chatgpt.com/backend-api/codex
💡 This type of error won't be fixed by retrying.
Hey! What can I help you with?
Operating System
Ubuntu 24.04
Python Version
3.13.5
Hermes Version
v0.14.0
Additional Logs / Traceback (optional)
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?
Bug Description
Hermes stopped working with ChatGPT integration, replying only:
Full dump:
Steps to Reproduce
Provider: openai-codex Model: gpt-5.5Expected Behavior
Hermes endpoint provider (https://chatgpt.com/backend-api/codex) should handle all code branches and never error on python error (NoneType).
Actual Behavior
As above, errors out
Affected Component
Agent Core (conversation loop, context compression, memory)
Messaging Platform (if gateway-related)
No response
Debug Report
Operating System
Ubuntu 24.04
Python Version
3.13.5
Hermes Version
v0.14.0
Additional Logs / Traceback (optional)
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?