pub async fn invoke_agent_stream_interactive(
input: InputOptions,
ai: AiOptions,
auxiliary_ai: Option<AiOptions>,
) -> Result<AgentStreamHandle, AgentError>Expand description
可交互的流式 Agent 调用 作用:启动流式 Agent 循环,并返回事件接收器和运行中命令发送器
pub async fn invoke_agent_stream_interactive(
input: InputOptions,
ai: AiOptions,
auxiliary_ai: Option<AiOptions>,
) -> Result<AgentStreamHandle, AgentError>可交互的流式 Agent 调用 作用:启动流式 Agent 循环,并返回事件接收器和运行中命令发送器