Skip to content

Commit 164a25d

Browse files
authored
fix: fix the missing .build() (#267)
1 parent a3dd681 commit 164a25d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/quick-start.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,8 @@ import com.alibaba.cloud.ai.graph.agent.hook.hip.HumanInTheLoopHook;
419419
// 创建 hook
420420
Hook humanInTheLoopHook = HumanInTheLoopHook.builder()
421421
.approvalOn("getWeatherTool", ToolConfig.builder().description("Please confirm tool execution.")
422-
.build();
422+
.build())
423+
.build();
423424

424425
ReactAgent agent = ReactAgent.builder()
425426
.name("my_agent")

0 commit comments

Comments
 (0)