class QueuedAgentPrompt

Properties

Agent $agent
string $prompt
Collection|array $attachments
Provider|Lab|array|string|null $provider
string|null $model
Decisions|null $approvalDecisions

Methods

__construct(Agent $agent, Decisions|string $prompt, Collection|array $attachments, Provider|Lab|array|string|null $provider, string|null $model)

Create a new queued agent prompt instance.

bool
contains(string $string)

Determine if the prompt contains the given string.

bool
hasApprovalDecisions()

Determine whether the prompt has tool approval decisions.

Details

at line 31
__construct(Agent $agent, Decisions|string $prompt, Collection|array $attachments, Provider|Lab|array|string|null $provider, string|null $model)

Create a new queued agent prompt instance.

Parameters

Agent $agent
Decisions|string $prompt
Collection|array $attachments
Provider|Lab|array|string|null $provider
string|null $model

at line 49
bool contains(string $string)

Determine if the prompt contains the given string.

Parameters

string $string

Return Value

bool

at line 57
bool hasApprovalDecisions()

Determine whether the prompt has tool approval decisions.

Return Value

bool