PauseTurnLimitExceededError(
self,
max_continuations: int,
messages: list[BaseMessage]
)| Name | Type | Description |
|---|---|---|
max_continuations* | int | The number of continuations the middleware sent. |
messages* | list[BaseMessage] | The responses of the turn in order: the first response, then one per continuation. |
| Name | Type |
|---|---|
| max_continuations | int |
| messages | list[BaseMessage] |
Raised when a turn is still paused after the allowed continuations.
The error carries the responses of the turn, so a caller keeps what the continuations returned.