AgentToolsRequest::setAgent()
Populate connection properties from an AgentToolsAgent
Copies provider, apiKey, model, and endpoint from the agent. Any of these can be overridden afterwards by setting the property directly.
Usage
$self = $agentToolsRequest->setAgent(AgentToolsAgent $agent);Arguments
AgentToolsRequest methods and properties
API reference based on ProcessWire core version 3.0.263