{"record":{"id":"4595390ccef6f060","repo":"NousResearch/hermes-agent","slug":"hermes-gateway-unavailable-459539","errorCode":null,"errorMessage":"Hermes gateway unavailable","messagePattern":"Hermes gateway unavailable","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"apps/desktop/src/lib/yolo-session.ts","lineNumber":72,"sourceCode":" * directly rather than growing a second requester abstraction.\n *\n * With no session yet the flag is armed locally; the session-create path\n * (use-session-actions) applies it on the first message, exactly as a bare\n * `/yolo` in a fresh draft does.\n */\nexport async function setYoloEnabled(enabled: boolean): Promise<boolean> {\n  const sessionId = $activeSessionId.get()\n\n  if (!sessionId) {\n    setYoloActive(enabled)\n\n    return enabled\n  }\n\n  const gateway = $gateway.get()\n\n  if (!gateway) {\n    throw new Error('Hermes gateway unavailable')\n  }\n\n  return setSessionYolo((method, params) => gateway.request(method, params), sessionId, enabled)\n}\n","sourceCodeStart":54,"sourceCodeEnd":77,"githubUrl":"https://github.com/NousResearch/hermes-agent/blob/c896c09c42910c584c4c7d2325b58c14713ea42c/apps/desktop/src/lib/yolo-session.ts#L54-L77","documentation":"Error \"Hermes gateway unavailable\" thrown in NousResearch/hermes-agent.","triggerScenarios":"Thrown at apps/desktop/src/lib/yolo-session.ts:72 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Confirm the backend is running and the app is connected (Settings → Gateway).","Restart the gateway and retry the yolo session action."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"c896c09c42910c584c4c7d2325b58c14713ea42c","analyzedAt":"2026-08-14T17:18:01.089Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}