execute • AI Agent SDK
execute: Execute prompt using the LLM.
execute
Method
</div>
This is a method of the LLMRuntimeWrapper class in the resolve module.
Execute prompt using the LLM.
Signature
def execute(prompt: str) -> AnyParameters
ParamField
strNo description available.
Returns
ResponseField
AnyThe result of the operation.
Uses
chat
Used By
CodeAgent.execute_codeCodeAgent.aexecuteMiddlewareManager.execute_model_callMiddlewareManager.execute_tool_callfire_hook
Source
View on GitHubpraisonaiagents/runtime/resolve.py at line 141