Add files via upload

This commit is contained in:
公明
2026-06-28 01:15:10 +08:00
committed by GitHub
parent 58dcafd15f
commit 25e03dee84
4 changed files with 63 additions and 4 deletions
+6 -4
View File
@@ -254,10 +254,11 @@ func RunDeepAgent(
)
}
sa, err := adk.NewChatModelAgent(ctx, &adk.ChatModelAgentConfig{
Name: id,
Description: desc,
Instruction: subInstrFinal,
Model: subModel,
Name: id,
Description: desc,
Instruction: subInstrFinal,
GenModelInput: literalInstructionGenModelInput,
Model: subModel,
ToolsConfig: adk.ToolsConfig{
ToolsNodeConfig: compose.ToolsNodeConfig{
Tools: subToolsForCfg,
@@ -479,6 +480,7 @@ func RunDeepAgent(
Name: orchestratorName,
Description: orchDescription,
Instruction: supInstr,
GenModelInput: literalInstructionGenModelInput,
Model: mainModel,
ToolsConfig: mainToolsCfg,
MaxIterations: deepMaxIter,