Skip to main content

Module executor

Module executor 

Source
Expand description

Agentic executor.

Re-exports§

pub use compaction::compact_response;
pub use engine::BoxStream;
pub use engine::ExecuteRequest;
pub use engine::create_conversation;
pub use engine::execute;
pub use error::ExecutorError;
pub use error::ExecutorResult;
pub use inference::call_inference;
pub use messages_loop::MessagesResponse;
pub use messages_loop::MessagesUpstream;
pub use messages_loop::run_messages_loop;
pub use messages_stream::run_messages_stream;
pub use modes::ConversationHandler;
pub use modes::ResponseHandler;
pub use persist::persist_response;
pub use persist::persist_turn;
pub use rehydrate::rehydrate_conversation;
pub use request::ExecutionContext;
pub use request::RequestContext;

Modules§

accumulator
Response accumulation and parsing utilities.
compaction
engine
Stateful conversation executor.
error
function_sse
gateway_accumulator
inference
HTTP transport layer for LLM backend communication.
messages_loop
Messages-native gateway tool loop.
messages_stream
Streaming Messages-native gateway tool loop.
modes
persist
Step 3 of the conversation pipeline — response persistence.
rehydrate
Step 1 of the conversation pipeline — history rehydration.
request

Functions§

normalize_native_web_search_for_upstream
Normalize native web-search declarations for an upstream endpoint that validates ordinary function-tool schemas, returning whether the body changed.
validate_native_web_search_request
Validate native web-search declarations before an HTTP streaming response commits its status and headers.