createAgentAndRun
Creates an AI agent with the specified configuration and runs it using the provided input.
Return
The output generated by the agent after processing the input.
Parameters
The input data to be processed by the agent.
An optional unique identifier for the agent. If null, a default identifier will be generated.
The tool registry to be used by the agent. Defaults to the service's tool registry.
The configuration parameters for the AI agent. Defaults to the service's agent configuration.
The clock instance used for managing time-related operations. Defaults to the system clock.
Creates an AI agent with the specified configuration and runs it using the provided input.
Return
The output generated by the agent after processing the input.
Parameters
The input data to be processed by the agent.
An optional unique identifier for the agent. If null, a default identifier will be generated.
The tool registry to be used by the agent. Defaults to the service's tool registry.
The configuration parameters for the AI agent. Defaults to the service's agent configuration.
The clock instance used for managing time-related operations. Defaults to the system clock.