Interface: ISkillRegistryConfig
Defined in: internal/skill-registry/types.ts:14
Configuration of the SkillRegistry. Lands in IAIGatewayConfig.skillRegistry.
The skills themselves are never configured here: they come with the profile (IAIProfile.skills) and with the call
(IGatewayAskInput.skills). This holds only what the gateway applies to all of them.
Properties
maxBodyChars?
optionalmaxBodyChars?:number
Defined in: internal/skill-registry/types.ts:38
The longest body of one skill, in characters.
A body is loaded whole into one tool result (or inlined whole in an
ask()); this bounds what one load costs.
A skill over it is a 400 (data.maxBodyChars, data.skill, data.length), at upsertProfile and when the call starts.
Example
10_000 - a few pages of procedure; split a longer one into skills the model loads separately
Default
50_000
maxSkills?
optionalmaxSkills?:number
Defined in: internal/skill-registry/types.ts:26
The most skills one call may have, the profile's and the call's together.
Keeps the
{skills}list and thedyna_aigw_load_skillenum a size a model reads reliably.
A profile or a call over it is a 400 (data.maxSkills, data.count), at upsertProfile and when the call starts.
Example
10 - a product whose profiles carry a handful of procedures each
Default
50