你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PersistentAgentsModelFactory.RunStepConnectedAgent Method

Definition

Initializes a new instance of RunStepConnectedAgent.

public static Azure.AI.Agents.Persistent.RunStepConnectedAgent RunStepConnectedAgent(string name = default, string arguments = default, string output = default, string runId = default, string threadId = default, string agentId = default);
static member RunStepConnectedAgent : string * string * string * string * string * string -> Azure.AI.Agents.Persistent.RunStepConnectedAgent
Public Shared Function RunStepConnectedAgent (Optional name As String = Nothing, Optional arguments As String = Nothing, Optional output As String = Nothing, Optional runId As String = Nothing, Optional threadId As String = Nothing, Optional agentId As String = Nothing) As RunStepConnectedAgent

Parameters

name
String

The name of connected agent.

arguments
String

The JSON serialized query to the connected agent.

output
String

The tool output.

runId
String

The run ID used by the connected agent.

threadId
String

The thread ID used by the connected agent.

agentId
String

The ID of a connected agent.

Returns

A new RunStepConnectedAgent instance for mocking.

Applies to