MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / with_hermes_provider

Function with_hermes_provider

atomic-agent/src/hooks/hermes.rs:191–197  ·  view source on GitHub ↗
(mut raw: Value)

Source from the content-addressed store, hash-verified

189}
190
191fn with_hermes_provider(mut raw: Value) -> Value {
192 if let Value::Object(ref mut map) = raw {
193 map.entry("provider".to_string())
194 .or_insert_with(|| Value::String("hermes".to_string()));
195 }
196 raw
197}
198
199#[cfg(test)]
200mod tests {

Callers 1

parse_eventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected