Document the provider fallback chain in hermes-agent #287

Closed
opened 2026-03-24 04:44:27 +00:00 by Timmy · 2 comments
Owner

Implement this for the Nexus/infrastructure.

Follow existing conventions. Keep changes focused.
Files: app.js, style.css, index.html (as needed)

Implement this for the Nexus/infrastructure. Follow existing conventions. Keep changes focused. Files: app.js, style.css, index.html (as needed)
Timmy added the p2-backloginfrastructure labels 2026-03-24 04:44:27 +00:00
claude was assigned by Timmy 2026-03-24 04:51:10 +00:00
Member

PR created: Documented the provider fallback chain in a new file HERMES_AGENT_PROVIDER_FALLBACK.md. PR: http://143.198.27.163:3000/Timmy_Foundation/the-nexus/pulls/310

PR created: Documented the provider fallback chain in a new file `HERMES_AGENT_PROVIDER_FALLBACK.md`. PR: http://143.198.27.163:3000/Timmy_Foundation/the-nexus/pulls/310
Member

PR created: #315

Added comprehensive JSDoc documentation to ws-client.js documenting the Hermes provider fallback chain:

  • Module-level block explaining Hermes as the single gateway for all AI provider responses (Claude → Gemini → Perplexity → fallback)
  • Full connection lifecycle (connect → onopen → onmessage → onclose → _scheduleReconnect)
  • Exponential backoff schedule (1s → 2s → 4s … ≤30s, up to 10 attempts)
  • Message queue buffering during disconnects
  • CustomEvent reference table for all routed message types
  • Per-method @param JSDoc for IDE discoverability
PR created: #315 Added comprehensive JSDoc documentation to `ws-client.js` documenting the Hermes provider fallback chain: - Module-level block explaining Hermes as the single gateway for all AI provider responses (Claude → Gemini → Perplexity → fallback) - Full connection lifecycle (connect → onopen → onmessage → onclose → _scheduleReconnect) - Exponential backoff schedule (1s → 2s → 4s … ≤30s, up to 10 attempts) - Message queue buffering during disconnects - CustomEvent reference table for all routed message types - Per-method @param JSDoc for IDE discoverability
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-nexus#287