Uses of Class
com.azure.ai.agents.persistent.models.ThreadRun
Packages that use ThreadRun
Package
Description
Package containing the classes for Agents.
Package containing the data models for Agents.
-
Uses of ThreadRun in com.azure.ai.agents.persistent
Methods in com.azure.ai.agents.persistent that return ThreadRunModifier and TypeMethodDescriptionCancels a run of an in‐progress thread.RunsClient.createRun(CreateRunOptions options) Creates a new run for an agent thread.PersistentAgentsAdministrationClient.createThreadAndRun(CreateThreadAndRunOptions options) Creates a new agent thread and immediately starts a run using that new thread.Gets an existing run from an existing thread.RunsClient.submitToolOutputsToRun(String threadId, String runId, List<ToolOutput> toolOutputs) Submits outputs from tools as requested by tool calls in a run.RunsClient.submitToolOutputsToRun(String threadId, String runId, List<ToolOutput> toolOutputs, Boolean stream) Submits outputs from tools as requested by tool calls in a run.Modifies an existing thread run.Modifies an existing thread run.Methods in com.azure.ai.agents.persistent that return types with arguments of type ThreadRunModifier and TypeMethodDescriptionCancels a run of an in‐progress thread.RunsAsyncClient.createRun(CreateRunOptions options) Creates a new run for an agent thread.PersistentAgentsAdministrationAsyncClient.createThreadAndRun(CreateThreadAndRunOptions options) Creates a new agent thread and immediately starts a run using that new thread.Gets an existing run from an existing thread.com.azure.core.http.rest.PagedFlux<ThreadRun> Gets a list of runs for a specified thread.com.azure.core.http.rest.PagedFlux<ThreadRun> RunsAsyncClient.listRuns(String threadId, Integer limit, ListSortOrder order, String after, String before) Gets a list of runs for a specified thread.com.azure.core.http.rest.PagedIterable<ThreadRun> Gets a list of runs for a specified thread.com.azure.core.http.rest.PagedIterable<ThreadRun> RunsClient.listRuns(String threadId, Integer limit, ListSortOrder order, String after, String before) Gets a list of runs for a specified thread.RunsAsyncClient.submitToolOutputsToRun(String threadId, String runId, List<ToolOutput> toolOutputs) Submits outputs from tools as requested by tool calls in a run.RunsAsyncClient.submitToolOutputsToRun(String threadId, String runId, List<ToolOutput> toolOutputs, Boolean stream) Submits outputs from tools as requested by tool calls in a run.Modifies an existing thread run.Modifies an existing thread run. -
Uses of ThreadRun in com.azure.ai.agents.persistent.models
Methods in com.azure.ai.agents.persistent.models that return ThreadRunModifier and TypeMethodDescriptionstatic ThreadRunThreadRun.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ThreadRun from the JsonReader.StreamRequiredAction.getMessage()Get the message detailing the action required by the service.StreamThreadRunCreation.getMessage()Get the thread run with the update sent by the service.Constructors in com.azure.ai.agents.persistent.models with parameters of type ThreadRunModifierConstructorDescriptionStreamRequiredAction(ThreadRun action, PersistentAgentStreamEvent kind) Creates a new instance of StreamRequiredAction.StreamThreadRunCreation(ThreadRun threadRun, PersistentAgentStreamEvent kind) Creates a new instance of StreamThreadRunCreation.