PersistentAgentsModelFactory.RunStepDeltaComputerUseDetails Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of RunStepDeltaComputerUseDetails.
public static Azure.AI.Agents.Persistent.RunStepDeltaComputerUseDetails RunStepDeltaComputerUseDetails(Azure.AI.Agents.Persistent.ComputerUseAction action = default, System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.SafetyCheck> pendingSafetyChecks = default, Azure.AI.Agents.Persistent.ComputerScreenshot output = default, System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.SafetyCheck> acknowledgedSafetyChecks = default);
static member RunStepDeltaComputerUseDetails : Azure.AI.Agents.Persistent.ComputerUseAction * seq<Azure.AI.Agents.Persistent.SafetyCheck> * Azure.AI.Agents.Persistent.ComputerScreenshot * seq<Azure.AI.Agents.Persistent.SafetyCheck> -> Azure.AI.Agents.Persistent.RunStepDeltaComputerUseDetails
Public Shared Function RunStepDeltaComputerUseDetails (Optional action As ComputerUseAction = Nothing, Optional pendingSafetyChecks As IEnumerable(Of SafetyCheck) = Nothing, Optional output As ComputerScreenshot = Nothing, Optional acknowledgedSafetyChecks As IEnumerable(Of SafetyCheck) = Nothing) As RunStepDeltaComputerUseDetails
Parameters
- action
- ComputerUseAction
The action to be performed by the computer use tool. Please note ComputerUseAction is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ClickAction, DoubleClickAction, DragAction, KeyPressAction, MoveAction, ScreenshotAction, ScrollAction, TypeAction and WaitAction.
- pendingSafetyChecks
- IEnumerable<SafetyCheck>
Safety checks that are pending acknowledgment by the developer.
- output
- ComputerScreenshot
The output from the computer use tool, null if outputs have not yet been submitted.
- acknowledgedSafetyChecks
- IEnumerable<SafetyCheck>
Safety checks that have been acknowledged by the developer, null if outputs have not yet been submitted.
Returns
A new RunStepDeltaComputerUseDetails instance for mocking.