Skip to main content

Module execute

Module execute 

Source
Expand description

Execute use case: prepare a session for agent execution.

Functionsยง

consume_pending_conclusion_with_options_resume
evaluate_client_sync
has_pending_conclusion_with_options_resume
has_pending_retry_resume
has_pending_user_message
Whether the session has resumable user work (pending tool response, retry, or last message is from user).
prepare_execute
Prepare an execute: load session, resolve model/reasoning, validate, update metadata, return outcome.