disable ask human tool

This commit is contained in:
Ramnique Singh 2025-11-08 09:12:02 +05:30
parent c004bc5eb6
commit 38a8700fa9

View file

@ -138,9 +138,9 @@ export class AgentNode implements Step {
async* execute(input: StepInputT): StepOutputT {
// console.log("\n\n\t>>>>\t\tinput", JSON.stringify(input));
const tools: ToolSet = {};
if (!this.background) {
tools["ask-human"] = AskHumanTool;
}
// if (!this.background) {
// tools["ask-human"] = AskHumanTool;
// }
for (const [name, tool] of Object.entries(this.agent.tools ?? {})) {
try {
tools[name] = mapAgentTool(tool);