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
returnGeneratorPageableHelpers.CreatePageable(FirstPageRequest,null, e =>BinaryData.FromString(e.GetRawText()),ClientDiagnostics,_pipeline,"PersistentAgentsAdministrationClient.GetAgents","data",null,context);
259
262
}
263
+
264
+
/// <summary>
265
+
/// [Protocol Method] Retrieves an existing agent.
266
+
/// <list type="bullet">
267
+
/// <item>
268
+
/// <description>
269
+
/// This <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/ProtocolMethods.md">protocol method</see> allows explicit creation of the request and processing of the response for advanced scenarios.
270
+
/// </description>
271
+
/// </item>
272
+
/// <item>
273
+
/// <description>
274
+
/// Please try the simpler <see cref="GetAgentAsync(string,CancellationToken)"/> convenience overload with strongly typed models first.
275
+
/// </description>
276
+
/// </item>
277
+
/// </list>
278
+
/// </summary>
279
+
/// <param name="agentId"> Identifier of the agent. </param>
280
+
/// <param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param>
281
+
/// <exception cref="ArgumentNullException"> <paramref name="agentId"/> is null. </exception>
282
+
/// <exception cref="ArgumentException"> <paramref name="agentId"/> is an empty string, and was expected to be non-empty. </exception>
283
+
/// <exception cref="RequestFailedException"> Service returned a non-success status code. </exception>
284
+
/// <returns> The response returned from the service. </returns>
/// [Protocol Method] Retrieves an existing agent.
305
+
/// <list type="bullet">
306
+
/// <item>
307
+
/// <description>
308
+
/// This <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/ProtocolMethods.md">protocol method</see> allows explicit creation of the request and processing of the response for advanced scenarios.
309
+
/// </description>
310
+
/// </item>
311
+
/// <item>
312
+
/// <description>
313
+
/// Please try the simpler <see cref="GetAgent(string,CancellationToken)"/> convenience overload with strongly typed models first.
314
+
/// </description>
315
+
/// </item>
316
+
/// </list>
317
+
/// </summary>
318
+
/// <param name="agentId"> Identifier of the agent. </param>
319
+
/// <param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param>
320
+
/// <exception cref="ArgumentNullException"> <paramref name="agentId"/> is null. </exception>
321
+
/// <exception cref="ArgumentException"> <paramref name="agentId"/> is an empty string, and was expected to be non-empty. </exception>
322
+
/// <exception cref="RequestFailedException"> Service returned a non-success status code. </exception>
323
+
/// <returns> The response returned from the service. </returns>
/// <summary> Initializes a new instance of AzureAIClient. </summary>
26
26
/// <param name="endpoint"> The Azure AI Foundry project endpoint, in the form `https://<aiservices-id>.services.ai.azure.com/api/projects/<project-name>`</param>
27
27
/// <param name="credential"> A credential used to authenticate to an Azure Service. </param>
@@ -88,7 +88,7 @@ public virtual async Task<Response<ThreadRun>> CreateThreadAndRunAsync(string as
0 commit comments