probe • AI Agent SDK

probe: Check connectivity/credentials without processing messages.

probe

Async

Method

</div>

This is a method of the BasePlatformAdapter class in the base module.

Check connectivity/credentials without processing messages.

Default: ok while the default :meth:start is running; otherwise a :meth:connect / :meth:disconnect round-trip.

Signature

python
async def probe() -> ProbeResult

Returns

ResponseField ProbeResult

The result of the operation.

Uses

  • ProbeResult
  • time.monotonic
  • connect
  • contextlib.suppress
  • disconnect

Source

View on GitHub

praisonaiagents/bots/base.py at line 624