deepseek-ai/deepseek-harness · error

session "${session.id}": automatic title generation failed:

Error message

session "${session.id}": automatic title generation failed: ${String(error)}

What it means

Error "session "${session.id}": automatic title generation failed: ${String(error)}" thrown in deepseek-ai/deepseek-harness.

Source

Thrown at packages/session/session-title/src/index.ts:536

  /** Consume one pending revision and schedule its non-blocking provider call. */
  private startPending(
    session: Session,
    state: SessionTitleWorkState,
    pending: PendingAutomaticWork,
    route: SessionTitleModelProvenance,
  ): void {
    delete state.pending
    this.defer(async () => {
      if (this.registration !== pending.registration
        || pending.registration.closing
        || this.work.get(session) !== state
        || state.revision !== pending.revision) return
      const work = this.activate(pending, state)
      try {
        await this.startProvider(session, work, route)
      } catch (error: unknown) {
        if (work.signal.aborted || !this.serviceActive()) return
        this.ctx.logger.warn(`session "${session.id}": automatic title generation failed: ${String(error)}`)
      }
    })
  }

  /** Start one tracked provider call after publishing its active revision. */
  private startProvider(
    session: Session,
    work: ActiveProviderWork,
    route?: SessionTitleModelProvenance,
  ): Promise<SessionTitleSnapshot | undefined> {
    const run = Promise.resolve().then(() => this.runProvider(session, work, route))
    return this.track(run, work.registration)
  }

  /** Execute and accept one current provider revision. */
  private async runProvider(
    session: Session,
    work: ActiveProviderWork,

View on GitHub (pinned to b150a551b8)

Solutions

  1. Check the LLM provider used for title generation (credentials, availability) and retry; a fallback title is used meanwhile.

When it happens

Trigger: Thrown at packages/session/session-title/src/index.ts:536 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24). Data as JSON: /api/errors/84a99c96e9627754. Report an issue: GitHub.