Struct Nemo Relay LlmExecution Context
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
#[repr(C)]pub struct NemoRelayLlmExecutionContext {
pub execution_context_json: *const c_char,
pub request_codec: NemoRelayLlmRequestContext,
pub response_codec: *const NemoRelayLlmResponseContext,
pub optimization_recorder: *const FfiLlmOptimizationRecorder,
}
Directional codec context supplied to an LLM execution intercept.
request_codec is always present. response_codec is non-null for unary execution and null for streaming execution, where Relay has no completed response to decode. Pointers reachable from this value are borrowed and valid only until the intercept callback returns.
Fields
execution_context_json: *const c_char
Borrowed LLM application context JSON, or null when omitted.
request_codec: NemoRelayLlmRequestContext
Active request codec identity and capability.
response_codec: *const NemoRelayLlmResponseContext
Active unary-response codec context, or null for streaming execution.
optimization_recorder: *const FfiLlmOptimizationRecorder
Borrowed capability for recording optimization evidence on this call.