StartingStep
class StartingStep
Methods
__construct(string $invocationId, int $stepNumber, Agent $agent, TextProvider $provider, string $model, bool $isFinalStep, array $messages, TextGenerationOptions|null $options, string|null $instructions = null, array $tools = [])
Create an event for a generation step being started.
array
__serialize()
Prepare the step for serialization without its live tool instances.
Details
at line 24
__construct(string $invocationId, int $stepNumber, Agent $agent, TextProvider $provider, string $model, bool $isFinalStep, array $messages, TextGenerationOptions|null $options, string|null $instructions = null, array $tools = [])
Create an event for a generation step being started.
at line 41
array
__serialize()
Prepare the step for serialization without its live tool instances.