continuedev/continue · warning · Error

Method not implemented.

Error message

Method not implemented.

What it means

The DeepSeek adapter intentionally does not implement `list`; model enumeration is unsupported. DeepSeek has only a handful of models, so they are expected to be configured explicitly.

Source

Thrown at packages/openai-adapters/src/apis/DeepSeek.ts:54

      }),
      headers: {
        "Content-Type": "application/json",
        Accept: "application/json",
        Authorization: `Bearer ${this.config.apiKey}`,
      },
      signal,
    });
    for await (const chunk of streamSse(resp as any)) {
      yield chatChunk({
        content: chunk.choices[0].text,
        finish_reason: chunk.finish_reason,
        model: body.model,
      });
    }
  }

  list(): Promise<Model[]> {
    throw new Error("Method not implemented.");
  }
}

View on GitHub (pinned to 5522c6f44c)

Solutions

  1. Configure DeepSeek model IDs explicitly (deepseek-chat, deepseek-reasoner).
  2. Call GET https://api.deepseek.com/models directly if live listing is needed.
  3. Capability-gate list() calls.
Defensive patterns

Strategy: type-guard

Type guard

const canList = (p: API): boolean => !(p instanceof DeepSeek);

Try / catch

try { return await deepseek.list(); } catch { return [{ id: 'deepseek-chat' }, { id: 'deepseek-reasoner' }]; }

Prevention

When it happens

Trigger: Calling .list() on the DeepSeek adapter.

Common situations: Generic provider-health checks or model pickers that call list() on every registered provider.

Related errors


AI-assisted analysis of continuedev/continue@5522c6f44c (2026-08-27). Data as JSON: /api/errors/ba8fedc3894f540e. Report an issue: GitHub.