Rust SDK
Rust-Client für den HELM-Kernel – asynchron mit Tippfehlern.
Rust SDK
You may not need the SDK. Any HTTP client pointing to
localhost:8080works — see the Quickstart. The SDK adds typed async Rust bindings.
The helm-sdk crate ships in-repo at sdk/rust/. Not yet published to crates.io.
Install
[dependencies]
helm = { git = "https://github.com/Mindburn-Labs/helm-oss", path = "sdk/rust" }
Usage
use helm_sdk::HelmClient;
let c = HelmClient::new("http://localhost:8080");
let req = ChatCompletionRequest::new("gpt-4")
.message(ChatMessage::user("List /tmp"));
match c.chat_completions(&req).await {
Ok(res) => println!("{:?}", res.choices[0].message.content),
Err(e) => println!("Denied: {:?}", e.reason_code), // DENY_TOOL_NOT_FOUND
}