run • AI Agent SDK
run: Run the agent with a prompt (alias for chat in most cases).
run
Method
</div>
This is a method of the RunnableAgentProtocol class in the protocols module.
Run the agent with a prompt (alias for chat in most cases).
Signature
def run(prompt: str) -> strParameters
ParamField
strNo description available.
Returns
ResponseField
strThe result of the operation.
Used By
Source
View on GitHubpraisonaiagents/agent/protocols.py at line 103