createHints
createHints(
config):AgentHooks
Defined in: agent/hints.ts:302
Creates combined hints from a configuration object.
This is a convenience function that creates and merges multiple hints based on a simple configuration object.
Parameters
Section titled “Parameters”config
Section titled “config”Configuration for which hints to enable
Returns
Section titled “Returns”Merged AgentHooks
Example
Section titled “Example”const hooks = createHints({ iterationProgress: { timing: "late" }, parallelGadgets: true,});
const agent = new AgentBuilder() .withHooks(HookPresets.merge(existingHooks, hooks)) .build();