Skip to content

Commit f53d819

Browse files
authored
fix: update interrupt info type in ChatModelAgent configure CheckPoin… (#1407)
1 parent d169a3c commit f53d819

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/zh/docs/eino/core_modules/eino_adk/agent_implementation/chat_model_agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ func main() {
400400
log.Fatal(event.Err)
401401
}
402402
if event.Action != nil && event.Action.Interrupted != nil {
403-
fmt.Printf("\ninterrupt happened, info: %+v\n", event.Action.Interrupted.Data.(*compose.InterruptInfo).RerunNodesExtra["ToolNode"])
403+
fmt.Printf("\ninterrupt happened, info: %+v\n", event.Action.Interrupted.Data.(*adk.ChatModelAgentInterruptInfo).Info.RerunNodesExtra["ToolNode"])
404404
continue
405405
}
406406
msg, err := event.Output.MessageOutput.GetMessage()

0 commit comments

Comments
 (0)