Polling Config • AI Agent SDK
PollingConfig: Configuration for HTTP long-polling fallback.
PollingConfig
Defined in the config module.
AI Agent
Configuration for HTTP long-polling fallback.
Attributes: enabled: Toggle polling fallback long_poll_timeout: Long-poll hang duration (seconds) max_batch_size: Max messages per poll response max_queue_size: Per-client in-memory queue bound. When >0 the queue overflows once full, routing further events to the durable store (at-least-once). 0 keeps the queue unbounded (no overflow).
Properties
ResponseField
boolNo description available.
ResponseField
intNo description available.
ResponseField
intNo description available.
ResponseField
intNo description available.
Internal & Generic Methods
- to_dict: Convert to dictionary.
Source
View on GitHubpraisonaiagents/gateway/config.py at line 658