MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / fmt

Method fmt

crates/openshell-router/src/config.rs:63–77  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

61
62impl std::fmt::Debug for ResolvedRoute {
63 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
64 f.debug_struct("ResolvedRoute")
65 .field("name", &self.name)
66 .field("endpoint", &self.endpoint)
67 .field("model", &self.model)
68 .field("api_key", &"[REDACTED]")
69 .field("protocols", &self.protocols)
70 .field("auth", &self.auth)
71 .field("default_headers", &self.default_headers)
72 .field("passthrough_headers", &self.passthrough_headers)
73 .field("timeout", &self.timeout)
74 .field("model_in_path", &self.model_in_path)
75 .field("request_path_override", &self.request_path_override)
76 .finish()
77 }
78}
79
80impl RouterConfig {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected