Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 1.02 KB

File metadata and controls

20 lines (12 loc) · 1.02 KB

ExecutionMode

REQUEST_BOUND preserves the existing wait/stream behavior. DURABLE starts a fresh, persisted execution with a 30-minute execution timeout and returns immediately. DURABLE requires stream to be false or omitted and does not accept metadata.chat_session_id. It does not bypass tool approval requirements or provide automatic QE-crash resumption. Expiry is read-triggered: the next GET of the run marks an active turn FAILED if more than 40 minutes have passed since the turn was accepted. There is no periodic sweep, so the stored run can remain RUNNING until it is read. Expiry never replays execution or expires approval-paused runs, and failure does not prove that external tool work has stopped.

Example Usage

import com.glean.api_client.glean_api_client.models.components.ExecutionMode;

ExecutionMode value = ExecutionMode.REQUEST_BOUND;

Values

Name Value
REQUEST_BOUND REQUEST_BOUND
DURABLE DURABLE