Skip to content

Commit 8f2e3ae

Browse files
committed
Tighten remote backend review diff
1 parent ca5c813 commit 8f2e3ae

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

crates/core/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ otel = [
2828
"dep:opentelemetry-http",
2929
"dep:opentelemetry-otlp",
3030
"dep:opentelemetry_sdk",
31+
"dep:reqwest",
3132
"dep:rustls",
3233
"dep:tonic",
3334
"dep:web-sys",
@@ -43,6 +44,7 @@ openinference = [
4344
"dep:opentelemetry-http",
4445
"dep:opentelemetry-otlp",
4546
"dep:opentelemetry_sdk",
47+
"dep:reqwest",
4648
"dep:rustls",
4749
"dep:tonic",
4850
"dep:web-sys",

crates/core/src/plugins/nemo_guardrails/remote.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ use super::{NeMoGuardrailsConfig, RemoteBackendConfig, RequestDefaultsConfig};
3636

3737
#[cfg(all(not(target_arch = "wasm32"), feature = "guardrails-remote"))]
3838
#[derive(Clone)]
39-
// PR 2 intentionally implements the first honest remote slice:
40-
// OpenAI chat requests, non-streaming + streaming execution, managed tool
41-
// input/output checks, broad request-defaults pass-through, and response
42-
// passthrough from the Guardrails server. The local backend remains out of
43-
// scope.
4439
struct RemoteBackendRuntime {
4540
endpoint: String,
4641
client: reqwest::Client,

0 commit comments

Comments
 (0)