Display Policy • AI Agent SDK

DisplayPolicy: Per-platform display / verbosity policy.

DisplayPolicy

Defined in the config module.

AI Agent

Per-platform display / verbosity policy.

Describes the operator’s policy for how output should be presented on a channel (as opposed to `PlatformCapabilities` which describes what a platform can render).

Attributes: streaming: Reply streaming mode. `"off" (single final message) | "draft" (edit in place) | "progress" (compact status then final). tool_progress: Whether tool execution progress is surfaced. "off" (hidden) | "inline" (inline progress bubbles). interim_assistant_messages: Show partial assistant messages, or only the final reply. footer: Runtime footer / status-line appended to replies. "off" | "compact" (e.g. model · ctx% · cwd`).

Properties

ResponseField str

No description available.

ResponseField str

No description available.

ResponseField bool

No description available.

ResponseField str

No description available.

Internal & Generic Methods
  • from_dict: Create a policy from a (partial) dict, ignoring unknown keys.
  • to_dict: Convert to dictionary for serialization.

Source

View on GitHub

praisonaiagents/bots/config.py at line 277


Related Documentation