{"record":{"id":"e2746b0d689b33bd","repo":"diegosouzapw/OmniRoute","slug":"kimi-web-model-does-not-support-context-length-r","errorCode":null,"errorMessage":"Kimi Web model does not support context_length=${requested || normalized}","messagePattern":"Kimi Web model does not support context_length=(.+?)","errorType":"validation","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"open-sse/config/providers/registry/kimi/web/runtime.ts","lineNumber":67,"sourceCode":"    throw new Error(`Kimi Web model does not support reasoning_effort=${requested || normalized}`);\n  }\n  return normalized;\n}\n\nexport function resolveKimiWebContextLength(\n  value: unknown,\n  config: KimiWebModelConfig\n): string | undefined {\n  const requested = toNonEmptyString(value);\n  const normalized = requested\n    ? requested.startsWith(CONTEXT_LENGTH_PREFIX)\n      ? requested.toUpperCase()\n      : `${CONTEXT_LENGTH_PREFIX}${requested.toUpperCase()}`\n    : config.defaultContextLength;\n\n  if (!normalized) return undefined;\n  if (!config.supportedContextLengths.includes(normalized)) {\n    throw new Error(`Kimi Web model does not support context_length=${requested || normalized}`);\n  }\n  return normalized;\n}\n","sourceCodeStart":49,"sourceCodeEnd":71,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/open-sse/config/providers/registry/kimi/web/runtime.ts#L49-L71","documentation":"Error \"Kimi Web model does not support context_length=${requested || normalized}\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at open-sse/config/providers/registry/kimi/web/runtime.ts:67 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}