Available on crate feature
runtime only.Expand description
RuntimeBuilder for embedding the platform with compile-time injected
extensions and a custom web-asset strategy.
Embedding helper for the systemprompt CLI.
RuntimeBuilder lets a custom binary inject Extension instances at
compile time, choose a WebAssets strategy, and then hand control to the
standard CLI entry point. It is the recommended way to embed the platform
when the default cargo install systemprompt binary is not enough.
use systemprompt::RuntimeBuilder;
RuntimeBuilder::new().run().awaitStructs§
- Runtime
Builder - Fluent builder that wires extensions and a web-asset strategy into the CLI
before delegating to
systemprompt_cli::run.
Enums§
- Runtime
Error - Typed error returned by
RuntimeBuilder::run. - WebAssets
- Web-asset serving strategy re-exported from
systemprompt-extension.