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
- Configure DeepSeek model IDs explicitly (deepseek-chat, deepseek-reasoner).
- Call GET https://api.deepseek.com/models directly if live listing is needed.
- 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
- Configure DeepSeek model IDs explicitly.
- Use a capability registry instead of blanket list() calls.
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
- LastXCommitsDepth must be a number
- Method not implemented.
- Method not implemented.
- Failed to fetch channels: ${response.statusText}
- Method not implemented.
AI-assisted analysis of continuedev/continue@5522c6f44c (2026-08-27).
Data as JSON: /api/errors/ba8fedc3894f540e.
Report an issue: GitHub.