DEV Community · LLM· nRouter·· 8d agoAI Score49
nRouter R SDK Brings R-Style Callbacks, Conditions, and Call Receipts
An R Client That Behaves Like R: Callbacks, Conditions, and a Receipt in result$meta
AI Takeaway
The nRouter R SDK handles streaming through callbacks and maps gateway failures to classed R conditions that work with `tryCatch`. Each call’s `result$meta` includes its exact cost and request ID, and `nrouter/auto` supports per-call routing preferences. The package installs from R-universe and is not on CRAN.
Source: DEV Community · LLM · dev.to