Reload Status • AI Agent SDK

ReloadStatus: Observable outcome of the gateway's config hot-reload machinery.

ReloadStatus

Defined in the protocols module.

AI Agent

Observable outcome of the gateway’s config hot-reload machinery.

Populated by the running gateway and surfaced in :meth:GatewayProtocol.health so an operator can ask “did my last config edit take effect, and is hot-reload still working?” without restarting or scraping logs.

Attributes: watcher: `"active" while the config watcher is running (event-driven or polling), "disabled" once it has genuinely given up — so silent degradation is detectable rather than assumed-working. last_result: Outcome of the most recent reload attempt — "ok", "failed", "no_changes", or "never" (no reload attempted yet this run). last_at: Unix timestamp of the last reload attempt, or None when none has occurred. changed_paths: The config paths that changed on the last successful reload (empty otherwise). error: On "failed", the human-readable reason the edit was rejected; None` otherwise.

Properties

ResponseField Literal

No description available.

ResponseField Literal

No description available.

ResponseField Optional[float]

No description available.

ResponseField Tuple[str, ...]

No description available.

ResponseField Optional[str]

No description available.

Internal & Generic Methods
  • to_dict: Convert to a JSON-serializable dict for the health surface.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 1517