Skip to main content

execute

AsyncMethod
This is a method of the ManagedBackendProtocol class in the protocols module.
Execute a prompt on managed infrastructure and return the full response. This is the primary entry point called by Agent._delegate_to_backend().

Signature

Parameters

str
required
The user message to send to the managed agent. **kwargs: Provider-specific options (e.g., timeout, metadata).

Returns

str
The agent’s complete text response.

Used By

Source

View on GitHub

praisonaiagents/agent/protocols.py at line 368