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
CodeAgent.execute_codeCodeAgent.aexecuteMiddlewareManager.execute_model_callMiddlewareManager.execute_tool_callHookRunner.execute_async
Source
View on GitHub
praisonaiagents/agent/protocols.py at line 368
