ok • AI Agent SDK
ok: Whether the action succeeded (“status == 'ok'“).
ok
Method
</div>
This is a method of the MessageActionResult class in the protocols module.
Whether the action succeeded (`status == "ok"`).
Signature
def ok() -> boolReturns
ResponseField
boolThe result of the operation.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 3472