We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c05eb81 commit cda8ee3Copy full SHA for cda8ee3
adk/chatmodel.go
@@ -674,7 +674,7 @@ func (a *ChatModelAgent) buildRunFunc(ctx context.Context) runFunc {
674
return a.genModelInput(ctx, instruction, input)
675
}),
676
).
677
- AppendGraph(g, compose.WithNodeName("ReAct")).
+ AppendGraph(g, compose.WithNodeName("ReAct"), compose.WithGraphCompileOptions(compose.WithMaxRunSteps(math.MaxInt))).
678
Compile(ctx, compileOptions...)
679
if err_ != nil {
680
generator.Send(&AgentEvent{Err: err_})
0 commit comments