Expand description
Shared provider infrastructure: the wire-adapter contract, its single-policy-site driver, and the decode-then-validate classify layer.
adapter, wire, tool_call_bridge, and chunk_lifecycle are
public so out-of-tree providers implement adapter::WireAdapter and
inherit the shared driver, frame-triage policy, index→identity tool-call
bridging, and the boundary-less reasoning lifecycle derivation instead of
hand-rolling per-provider assemblers; the remaining helpers are
crate-private.
Modules§
- adapter
- The wire-adapter contract and its single-policy-site driver.
- chunk_
lifecycle - Shared lifecycle derivation for boundary-less constant-key wires.
- tool_
call_ bridge - Index → grammar-identity bridging for streamed tool calls.
- wire
- Decode-then-validate classification for JSON stream wire frames.
Functions§
- resolve_
empty_ tool_ result_ names - Fill empty
ToolResult::names from the calls they answer, for wires that key the replay on the tool name (GeminifunctionResponse.name, Ollama tool messages, Vertex AI, gemini-grpc, Interactions).