Wraps an executor so the model can look up its own capabilities on demand.
A learn_capability tool is offered for the first few iterations; what the model learns is cached per request, so repeated lookups are free.
learn_capability
Executor or model id that does the generating.
Iteration budget, cache key and prompt prefixes to skip.
An executor that can answer questions about itself.
export default createCapabilitiesExecutor("core/voice-1"); Copy
export default createCapabilitiesExecutor("core/voice-1");
Wraps an executor so the model can look up its own capabilities on demand.
A
learn_capabilitytool is offered for the first few iterations; what the model learns is cached per request, so repeated lookups are free.