NousResearch/hermes-agent · error

hatch produced no preview

Error message

hatch produced no preview

What it means

Error "hatch produced no preview" thrown in NousResearch/hermes-agent.

Source

Thrown at apps/desktop/src/store/pet-generate.ts:548

        prompt: concept,
        style: options.style ?? 'auto',
        ...($petGenProvider.get() ? { provider: $petGenProvider.get() } : {})
      },
      HATCH_TIMEOUT_MS,
      controller.signal
    )

    // Stopped mid-hatch: the server created the pet anyway, so delete it.
    if (!hatch.isCurrent(hatchRunId)) {
      if (result?.slug) {
        void request('pet.remove', { slug: result.slug }).catch(() => {})
      }

      return false
    }

    if (!result?.ok || !result.pet?.spritesheetBase64) {
      throw new Error('hatch produced no preview')
    }

    $petGenPreview.set({ ...result.pet, enabled: true })
    $petGenStatus.set('preview')
    notifyPetGenDone('Your pet hatched', 'Reopen to name and adopt it.', 'success')

    return true
  } catch (e) {
    if (!hatch.isCurrent(hatchRunId)) {
      return false
    }

    $petGenStatus.set('error')
    $petGenError.set(e instanceof Error ? e.message : 'Could not hatch the pet.')
    notifyPetGenDone('Hatching failed', 'Reopen to try again.', 'error')

    return false
  } finally {

View on GitHub (pinned to c896c09c42)

Solutions

  1. Retry the hatch; the pipeline produced no preview frame.
  2. Check the image backend logs for generation failures.
  3. Regenerate drafts and hatch again.

When it happens

Trigger: Thrown at apps/desktop/src/store/pet-generate.ts:548 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of NousResearch/hermes-agent@c896c09c42 (2026-08-14). Data as JSON: /api/errors/ff26acdc7099eaae. Report an issue: GitHub.