HeyPuter/puter · error · HttpError

internal_error

internal_error

Error message

No provider found for model ${model.id}

What it means

Error "No provider found for model ${model.id}" thrown in HeyPuter/puter.

Source

Thrown at src/backend/drivers/ai-video/VideoGenerationDriver.ts:190

        }

        if (!args.model && intendedProvider) {
            args.model = this.#providers[intendedProvider].getDefaultModel();
        }

        const model = args.model
            ? this.#resolveModel(args.model, intendedProvider)
            : undefined;

        if (!model) {
            throw new HttpError(400, `Model not found: ${args.model}`, {
                legacyCode: 'bad_request',
            });
        }

        const provider = this.#providers[model.provider!];
        if (!provider) {
            throw new HttpError(
                500,
                `No provider found for model ${model.id}`,
                { legacyCode: 'internal_error' },
            );
        }

        // Validate / normalise duration
        if (model.durationSeconds?.length) {
            const requestedSeconds = args.seconds ?? args.duration;
            const normalizedSeconds =
                typeof requestedSeconds === 'string'
                    ? Number.parseInt(requestedSeconds, 10)
                    : requestedSeconds;
            const validSeconds = model.durationSeconds.includes(
                Number(normalizedSeconds),
            )
                ? normalizedSeconds
                : model.durationSeconds[0];

View on GitHub (pinned to 908ec23eda)

Solutions

  1. Use a model id that has a configured video generation provider.
  2. Check the registered providers and pick a supported model.

When it happens

Trigger: Thrown at src/backend/drivers/ai-video/VideoGenerationDriver.ts:190 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of HeyPuter/puter@908ec23eda (2026-08-12). Data as JSON: /api/errors/1496e2c984f2c748. Report an issue: GitHub.