genaiscript
Version:
A CLI for GenAIScript, a generative AI scripting framework.
23 lines (20 loc) • 577 B
text/typescript
system({
title: "A planner agent",
})
export default function (ctx: ChatGenerationContext) {
const { defAgent } = ctx
defAgent(
"planner",
"generates a plan to solve a task",
`Generate a detailed plan as a list of tasks so that a smaller LLM can use agents to execute the plan.`,
{
model: "reasoning",
system: [
"system.assistant",
"system.planner",
"system.safety_jailbreak",
"system.safety_harmful_content",
],
}
)
}