Expand description
HTTP API client for systemprompt.io deployments.
SystempromptClient wraps a pre-configured reqwest::Client and a
small set of typed methods for the routes documented in
systemprompt-models::ApiPaths. RemoteCliExecutor streams remote CLI
command output over server-sent events into a caller-supplied
OutputSink. All errors flow through the ClientError enum.
§Feature flags
This crate has no feature flags. [package.metadata.docs.rs] all-features
is set so future additions render on docs.rs without further changes.
§Example
use systemprompt_client::SystempromptClient;
let client = SystempromptClient::new("https://api.example.com")?;
let healthy = client.check_health().await;
assert!(healthy);