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