@@ -73,9 +73,11 @@ func newSubAgent[T any](
|
||||
if spec.thinkingBudget > 0 {
|
||||
opts = append(opts, agent.WithThinking(spec.thinkingBudget))
|
||||
}
|
||||
|
||||
if spec.parallelTools {
|
||||
opts = append(opts, agent.WithParallelToolCalls(true))
|
||||
}
|
||||
|
||||
opts = append(opts, extraOpts...)
|
||||
|
||||
return agent.New(spec.name, client, opts...), nil
|
||||
|
||||
Reference in New Issue
Block a user