{"record":{"id":"96efee58b4244892","repo":"deepseek-ai/deepseek-harness","slug":"unsupported-model-variant-json-stringify-value","errorCode":null,"errorMessage":"unsupported model variant ${JSON.stringify(value)}","messagePattern":"unsupported model variant (.+?)","errorType":"exception","errorClass":"TypeGraphRenderError","httpStatus":null,"severity":"error","filePath":"packages/typert/generator/src/renderer.ts","lineNumber":364,"sourceCode":"  return node.kind === 'union' || node.kind === 'intersection' || node.kind === 'function' || node.kind === 'constructor' || node.kind === 'conditional'\n}\n\nfunction renderPropertyName(name: string): string {\n  if (name.startsWith('[') && name.endsWith(']')) return name\n  if (/^(?:[$A-Z_a-z][$\\w]*|\\d+)$/u.test(name)) return name\n  return quote(name)\n}\n\nfunction quote(value: string): string {\n  return `'${value.replaceAll('\\\\', '\\\\\\\\').replaceAll(\"'\", \"\\\\'\").replaceAll('\\n', '\\\\n')}'`\n}\n\nfunction escapeTemplate(value: string): string {\n  return value.replaceAll('\\\\', '\\\\\\\\').replaceAll('`', '\\\\`').replaceAll('${', '\\\\${')\n}\n\nfunction assertNever(value: never): never {\n  throw new TypeGraphRenderError(`unsupported model variant ${JSON.stringify(value)}`)\n}\n","sourceCodeStart":346,"sourceCodeEnd":366,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/typert/generator/src/renderer.ts#L346-L366","documentation":"Error \"unsupported model variant ${JSON.stringify(value)}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/typert/generator/src/renderer.ts:364 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Pass a supported model variant; check the value against the documented union."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}