chore(agent): remove v1 wording from runner internals

This commit is contained in:
huanghuoguoguo
2026-05-19 10:27:40 +08:00
parent 641b15c74d
commit 7d6f635664
8 changed files with 39 additions and 39 deletions

View File

@@ -641,10 +641,10 @@ class PluginRuntimeConnector:
context: AgentRunContext as dict
Yields:
AgentRunResult dicts per Protocol v1
AgentRunResult dicts
"""
if not self.is_enable_plugin:
# Return v1 protocol run.failed
# Return a protocol-level failure result.
yield {
'type': 'run.failed',
'data': {

View File

@@ -1422,7 +1422,7 @@ class RuntimeConnectionHandler(handler.Handler):
) -> typing.AsyncGenerator[dict[str, Any], None]:
"""Run an AgentRunner component.
Yields AgentRunResult dicts per Protocol v1.
Yields AgentRunResult dicts.
"""
gen = self.call_action_generator(
LangBotToRuntimeAction.RUN_AGENT,