ADK for TypeScript: API Reference
    Preparing search index...

    Interface WorkflowInstructionScope

    工作流程:数据被公开(或:数据被暴露给外部系统/用户) {Class.field} 和 <Class.field from source_node> 当 LLMAgent 作为工作流节点运行时,这些指令占位符会被填充相应的内容。 LLMAgentWrapper在普通的(非工作流相关的)代理运行过程中,这些占位符会被忽略(即不会被替换或修改)。

    interface WorkflowInstructionScope {
        input?: unknown;
        outputsByNode?: Record<string, unknown>;
    }
    input?: unknown

    当前节点的输入数据;这些输入数据会暴露出一些字段(即可以被其他部分或系统使用的信息)。 {Class.field}.

    outputsByNode?: Record<string, unknown>

    前驱节点的输出结果会按照节点名称进行排序(即按照节点名称进行排序)。 <Class.field from node>.