{"record":{"id":"ce92546bcac4c4e5","repo":"diegosouzapw/OmniRoute","slug":"missing-credits","errorCode":"missing_credits","errorMessage":"Inner.ai: not enough credits","messagePattern":"Inner\\.ai: not enough credits","errorType":"error_code","errorClass":"InnerAiStreamError","httpStatus":429,"severity":"error","filePath":"open-sse/executors/inner-ai.ts","lineNumber":537,"sourceCode":"\n      const type = data.type;\n      if (type === \"text\" && typeof data.item === \"string\") {\n        content += data.item;\n        continue;\n      }\n      if (\n        type === \"missing_credits\" ||\n        type === \"reached_limit\" ||\n        type === \"rate_limit_reached\" ||\n        type === \"rate_limit_longer_reached\"\n      ) {\n        const errorMsg =\n          type === \"missing_credits\"\n            ? \"Inner.ai: not enough credits\"\n            : type === \"reached_limit\"\n              ? \"Inner.ai: usage limit reached\"\n              : \"Inner.ai: rate limit reached — try again later\";\n        throw new InnerAiStreamError(429, String(type), errorMsg);\n      }\n    }\n  }\n  return content;\n}\n\n// ── Executor ──────────────────────────────────────────────────────────────────\n\nexport class InnerAiExecutor extends BaseExecutor {\n  constructor() {\n    super(\"inner-ai\", { id: \"inner-ai\", baseUrl: \"https://chatapi.innerai.com\" });\n  }\n\n  async execute(input: ExecuteInput) {\n    const { body, credentials, signal, stream: wantStream } = input;\n    const bodyObj = (body || {}) as Record<string, unknown>;\n\n    const rawToken = String(credentials?.apiKey ?? \"\").trim();","sourceCodeStart":519,"sourceCodeEnd":555,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/open-sse/executors/inner-ai.ts#L519-L555","documentation":"Error \"Inner.ai: not enough credits\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at open-sse/executors/inner-ai.ts:537 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"}