0
Fork 0
mirror of https://github.com/TanStack/ai.git synced 2026-11-16 19:38:41 +00:00
ai/docs/reference/interfaces/SkillLimitErrorInit.md
github-actions[bot] 1999af2267
docs: regenerate API documentation (#1260)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-08-28 11:42:19 +02:00

1.8 KiB

id title
SkillLimitErrorInit SkillLimitErrorInit

Interface: SkillLimitErrorInit

Defined in: packages/ai/src/utilities/errors.ts:13

Thrown when a skills request exceeds a provider limit. Lives in core (rather than @tanstack/ai-skills) so the native tool factories in ai-anthropic and openai-base can throw it without depending on the skills package; @tanstack/ai-skills re-exports it for the portable path.

path distinguishes the native provider cap (e.g. Anthropic's 8-skill limit) from a portable-path limit, so a portable user isn't sent chasing a cap that only applies to hosted skills.

Properties

actual

actual: number;

Defined in: packages/ai/src/utilities/errors.ts:18


allowed

allowed: number;

Defined in: packages/ai/src/utilities/errors.ts:17


limit

limit: string;

Defined in: packages/ai/src/utilities/errors.ts:16


offending

offending: string[];

Defined in: packages/ai/src/utilities/errors.ts:19


path

path: "native" | "portable";

Defined in: packages/ai/src/utilities/errors.ts:15


provider

provider: "anthropic" | "openai" | "gemini" | "other";

Defined in: packages/ai/src/utilities/errors.ts:14