deepseek-ai/deepseek-harness · error · TypeGraphRenderError
unsupported model variant ${JSON.stringify(value)}
Error message
unsupported model variant ${JSON.stringify(value)} What it means
Error "unsupported model variant ${JSON.stringify(value)}" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/typert/generator/src/renderer.ts:364
return node.kind === 'union' || node.kind === 'intersection' || node.kind === 'function' || node.kind === 'constructor' || node.kind === 'conditional'
}
function renderPropertyName(name: string): string {
if (name.startsWith('[') && name.endsWith(']')) return name
if (/^(?:[$A-Z_a-z][$\w]*|\d+)$/u.test(name)) return name
return quote(name)
}
function quote(value: string): string {
return `'${value.replaceAll('\\', '\\\\').replaceAll("'", "\\'").replaceAll('\n', '\\n')}'`
}
function escapeTemplate(value: string): string {
return value.replaceAll('\\', '\\\\').replaceAll('`', '\\`').replaceAll('${', '\\${')
}
function assertNever(value: never): never {
throw new TypeGraphRenderError(`unsupported model variant ${JSON.stringify(value)}`)
}
View on GitHub (pinned to b150a551b8)
Solutions
- Pass a supported model variant; check the value against the documented union.
When it happens
Trigger: Thrown at packages/typert/generator/src/renderer.ts:364 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/96efee58b4244892.
Report an issue: GitHub.