mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-16 18:25:17 +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 {
|
async* execute(input: StepInputT): StepOutputT {
|
||||||
// console.log("\n\n\t>>>>\t\tinput", JSON.stringify(input));
|
// console.log("\n\n\t>>>>\t\tinput", JSON.stringify(input));
|
||||||
const tools: ToolSet = {};
|
const tools: ToolSet = {};
|
||||||
if (!this.background) {
|
// if (!this.background) {
|
||||||
tools["ask-human"] = AskHumanTool;
|
// tools["ask-human"] = AskHumanTool;
|
||||||
}
|
// }
|
||||||
for (const [name, tool] of Object.entries(this.agent.tools ?? {})) {
|
for (const [name, tool] of Object.entries(this.agent.tools ?? {})) {
|
||||||
try {
|
try {
|
||||||
tools[name] = mapAgentTool(tool);
|
tools[name] = mapAgentTool(tool);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue