Skip to main content

Crate mesh_llm_ui

Crate mesh_llm_ui 

Source
Expand description

Web-console asset accessors.

With the default embed-assets feature, include_dir! bundles the built React console (dist/) into the crate at compile time and index / asset serve those bytes.

With embed-assets disabled, the crate compiles down to ~nothing and both accessors return None. Callers (notably mesh-llm-host-runtime’s console asset routes) treat that as “no UI bundled” and surface 404s for the asset paths while keeping every other management-API surface working. This lets lib-style consumers of mesh-llm-host-runtime drop several MB of embedded payload by opting out of default-features.

SDKs can use FileSystemConsoleAssets to serve the same built console from package resources without baking those assets into every native library variant.

Structs§

EmbeddedConsoleAssets
FileSystemConsoleAssets
UiAsset

Traits§

ConsoleAssetProvider

Functions§

asset
cache_control
content_type
index