Expand description
Ergonomic shortcuts for building public LLM call requests (feature 472, T1012). Resolves UI finding U2 — single-line construction of a request with a specific routing intent.
ⓘ
use node_app_sdk_rust::llm::{ExecuteChatRequest, ChatMessage};
let req = ExecuteChatRequest {
messages: vec![ChatMessage { role: "user".into(), content: "hi".into() }],
model: Some("gpt-4o".into()),
..Default::default()
}
.private();Honest framing (per S5/U4): Private mode isolates the upstream provider’s API credentials on the peer’s host and routes egress through a separate device; it does NOT mask prompt contents from the upstream provider or anonymize the user.
Traits§
- With
Route - Routing-intent shortcuts.