generated from cloudwego/.github
-
Notifications
You must be signed in to change notification settings - Fork 199
Closed
Labels
C-bugThis is a bug-report. Bug-fix PRs use `C-enhancement` instead.This is a bug-report. Bug-fix PRs use `C-enhancement` instead.D-adkDomain: this is an issue related to the adk packageDomain: this is an issue related to the adk package
Description
loop_for_reflection示例中使用qwen3不能自动退出循环,需要明确指定退出工具
a, err := adk.NewChatModelAgent(context.Background(), &adk.ChatModelAgentConfig{
Name: "CritiqueAgent",
Description: "Critique agent that reviews the main agent's work and provides feedback.",
Instruction: `You are a critique agent responsible for reviewing the main agent's work.
Analyze the provided solution for accuracy, completeness, and quality.
If you find issues or areas for improvement, provide specific feedback.
If the work is satisfactory, call the 'exit' tool and provide a final summary response.`,
Model: model.NewChatModel(),
// Exit: endTool, // use default exit tool
Exit: adk.ExitTool{},
})
不知道是模型的问题还是我使用的不对
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-bugThis is a bug-report. Bug-fix PRs use `C-enhancement` instead.This is a bug-report. Bug-fix PRs use `C-enhancement` instead.D-adkDomain: this is an issue related to the adk packageDomain: this is an issue related to the adk package