diegosouzapw/OmniRoute · error · InnerAiStreamError
reached_limit
reached_limit
Error message
Inner.ai: usage limit reached
What it means
Error "Inner.ai: usage limit reached" thrown in diegosouzapw/OmniRoute.
Source
Thrown at open-sse/executors/inner-ai.ts:537
const type = data.type;
if (type === "text" && typeof data.item === "string") {
content += data.item;
continue;
}
if (
type === "missing_credits" ||
type === "reached_limit" ||
type === "rate_limit_reached" ||
type === "rate_limit_longer_reached"
) {
const errorMsg =
type === "missing_credits"
? "Inner.ai: not enough credits"
: type === "reached_limit"
? "Inner.ai: usage limit reached"
: "Inner.ai: rate limit reached — try again later";
throw new InnerAiStreamError(429, String(type), errorMsg);
}
}
}
return content;
}
// ── Executor ──────────────────────────────────────────────────────────────────
export class InnerAiExecutor extends BaseExecutor {
constructor() {
super("inner-ai", { id: "inner-ai", baseUrl: "https://chatapi.innerai.com" });
}
async execute(input: ExecuteInput) {
const { body, credentials, signal, stream: wantStream } = input;
const bodyObj = (body || {}) as Record<string, unknown>;
const rawToken = String(credentials?.apiKey ?? "").trim();View on GitHub (pinned to a179ffed5b)
When it happens
Trigger: Thrown at open-sse/executors/inner-ai.ts:537 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25).
Data as JSON: /api/errors/2958fa9eff062167.
Report an issue: GitHub.