mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-26 00:46:23 +02:00
disable ask human tool
This commit is contained in:
parent
c004bc5eb6
commit
38a8700fa9
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue