You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/eino/core_modules/eino_adk/agent_implementation/chat_model/index.html
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
What is ChatModelAgent ChatModelAgent is the core Agent implementation of Eino ADK — it uses a ChatModel as the decision-maker, Tools as the action space, and autonomously drives problem-solving through a ReAct Loop.
7
7
For a complete introduction to ChatModelAgent concepts, the ReAct Loop, and the Middleware system, see: ChatModelAgent Introduction
8
8
ReAct Loop When Tools are configured, ChatModelAgent executes in a ReAct loop:
9
-
Reason: Call the ChatModel, which decides the next action Action: The model returns a ToolCall request Act: Execute the corresponding Tool Observation: Inject the Tool result into the context and start a new loop iteration The loop continues until the model determines no further Tool calls are needed. Without Tools configured, it degrades to a single ChatModel invocation.'><metaitemprop=datePublishedcontent="2026-05-21T00:00:00+00:00"><metaitemprop=dateModifiedcontent="2026-05-21T19:31:45+08:00"><metaitemprop=wordCountcontent="997"><metaname=twitter:cardcontent="summary"><metaname=twitter:titlecontent="ChatModelAgent"><metaname=twitter:descriptioncontent='ChatModelAgent Overview import "github.com/cloudwego/eino/adk"
9
+
Reason: Call the ChatModel, which decides the next action Action: The model returns a ToolCall request Act: Execute the corresponding Tool Observation: Inject the Tool result into the context and start a new loop iteration The loop continues until the model determines no further Tool calls are needed. Without Tools configured, it degrades to a single ChatModel invocation.'><metaitemprop=datePublishedcontent="2026-05-21T00:00:00+00:00"><metaitemprop=dateModifiedcontent="2026-05-21T20:54:49+08:00"><metaitemprop=wordCountcontent="997"><metaname=twitter:cardcontent="summary"><metaname=twitter:titlecontent="ChatModelAgent"><metaname=twitter:descriptioncontent='ChatModelAgent Overview import "github.com/cloudwego/eino/adk"
10
10
What is ChatModelAgent ChatModelAgent is the core Agent implementation of Eino ADK — it uses a ChatModel as the decision-maker, Tools as the action space, and autonomously drives problem-solving through a ReAct Loop.
11
11
For a complete introduction to ChatModelAgent concepts, the ReAct Loop, and the Middleware system, see: ChatModelAgent Introduction
12
12
ReAct Loop When Tools are configured, ChatModelAgent executes in a ReAct loop:
</span></span></span></code></pre></div><h1id=cancel>Cancel</h1><p>New runtime cancellation capability added in v0.9. See <ahref=/docs/eino/core_modules/eino_adk/eino_adk_agent_cancel_and_turnloop_quickstart>Agent Cancel and TurnLoop</a> for details.</p><divclass=highlight><pretabindex=0class=chroma><codeclass=language-godata-lang=go><spanclass=line><spanclass=cl><spanclass=nx>cancelOpt</span><spanclass=p>,</span><spanclass=w></span><spanclass=nx>cancelFn</span><spanclass=w></span><spanclass=o>:=</span><spanclass=w></span><spanclass=nx>adk</span><spanclass=p>.</span><spanclass=nf>WithCancel</span><spanclass=p>()</span><spanclass=w>
575
+
</span></span></span></code></pre></div><h1id=cancel>Cancel</h1><p>New runtime cancellation capability added in v0.9. See <ahref=/docs/eino/core_modules/eino_adk/agent_cancel_and_turnloop_quickstart/>Agent Cancel and TurnLoop</a> for details.</p><divclass=highlight><pretabindex=0class=chroma><codeclass=language-godata-lang=go><spanclass=line><spanclass=cl><spanclass=nx>cancelOpt</span><spanclass=p>,</span><spanclass=w></span><spanclass=nx>cancelFn</span><spanclass=w></span><spanclass=o>:=</span><spanclass=w></span><spanclass=nx>adk</span><spanclass=p>.</span><spanclass=nf>WithCancel</span><spanclass=p>()</span><spanclass=w>
</span></span></span><spanclass=line><spanclass=cl><spanclass=w></span><spanclass=nx>handle</span><spanclass=p>.</span><spanclass=nf>Wait</span><spanclass=p>()</span><spanclass=w></span><spanclass=c1>// Wait for cancellation to complete</span><spanclass=w>
581
581
</span></span></span></code></pre></div><divclass=section-index><hrclass=panel-line><divclass=entry><h5><ahref=/docs/eino/core_modules/eino_adk/agent_implementation/chat_model/chatmodel_failover_guide/>ChatModel Failover Guide</a></h5><p></p></div></div><style>.feedback--answer{display:inline-block}.feedback--answer-no{margin-left:1em}.feedback--response{display:none;margin-top:1em}.feedback--response__visible{display:block}</style><divclass=d-print-none><h2class=feedback--title>Feedback</h2><pclass=feedback--question>Was this page helpful?</p><buttonclass="btn btn-primary mb-4 feedback--answer feedback--answer-yes">Yes</button>
0 commit comments