deepseek-ai/deepseek-harness · error · UserQuestionError

NO_PROVIDER

NO_PROVIDER

Error message

no user-questions provider is registered

What it means

Error "no user-questions provider is registered" thrown in deepseek-ai/deepseek-harness.

Source

Thrown at packages/interaction/user-questions/src/index.ts:137

    // something invisible — in front of the user. Caught at the asker, where
    // the mistake is, rather than in each UI.
    for (const question of request.questions) {
      const intent = question.intent
      if (intent === undefined) continue
      if (!(question.options ?? []).some(option => option.label === intent.approve)) {
        throw new UserQuestionError(
          `question ${question.id} declares intent ${intent.kind} whose approve label `
          + `${JSON.stringify(intent.approve)} names none of its options`,
          'BAD_INTENT')
      }
      if (question.detail === undefined) {
        throw new UserQuestionError(
          `question ${question.id} declares intent ${intent.kind} without the detail it reviews`,
          'BAD_INTENT')
      }
    }
    if (this.provider === undefined) {
      throw new UserQuestionError('no user-questions provider is registered', 'NO_PROVIDER')
    }
    return this.provider.ask(request)
  }
}

export default UserQuestionService

View on GitHub (pinned to b150a551b8)

Solutions

  1. Register a user-questions provider before asking questions.

When it happens

Trigger: Thrown at packages/interaction/user-questions/src/index.ts:137 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/fd1da7743dae74d3. Report an issue: GitHub.