Skip to content
Developer Preview

TurnOutcome

How a turn ended, from a waiter’s point of view. turn/retracted, turn/retryScheduled, turn/modelRetryScheduled, turn/modelAttemptStarted, and turn/foregroundCompleted are deliberately absent: a retracted turn still reaches its own terminal, and a scheduled retry, a scheduled backoff, a starting model attempt, or a foreground notice is explicitly non-terminal.

Type alias in muse_code

TurnOutcome = Union[_Completed, _Unqueued, _TerminalUnknown]

Source

clients/sdk-py/src/muse_code/facade/turn_handle.py:121