← Files CrowdStrike AgentWorksARCHIVED FILE
common/scripts/invocation_helpers.py
416 Bytes · Nov 3, 2026 · 19:14 UTC
"""
Shared helpers for Charlotte AI AgentWorks invocation scripts.
This module provides constants shared by the scripts that poll an invocation's status.
"""
# Invocation statuses that mean the run is done. Anything else (processing, queued, cancelling,
# an unrecognized value, ...) is treated as still in flight, so pollers keep waiting on it.
TERMINAL_STATUSES = frozenset({"completed", "failed", "cancelled"})
SHA-256: 8073be358bf70234c7fea4ebd57ac9b46522030942f3d7a59a183b83f04c7a0e