Skip to main content

Crate lash_protocol_standard

Crate lash_protocol_standard 

Source
Expand description

Standard protocol stack: the model drives tools via the native function-calling envelope of its LLM transport.

This crate owns:

  • StandardDriver — the ProtocolDriverHandle that dispatches native tool calls and weaves reasoning parts into the assistant message timeline.
  • The StandardProtocolPluginFactory plugin that claims the protocol-driver slot so the runtime can run standard-protocol sessions.
  • The batch tool that composes parallel native tool calls (only exposed when this protocol stack is installed).

Structs§

StandardDriver
Protocol driver for the Standard protocol. Consumes native tool-call envelopes from the LLM, dispatches them via DriverAction::StartTools, and splices reasoning parts into the assistant message so provider replay metadata preserves chain-of-thought ordering.
StandardProtocolPluginFactory
Plugin factory that installs the standard-protocol driver, session plugin, and native tool catalog.