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

Function with_hermes_provider

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

Source from the content-addressed store, hash-verified

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

Callers 1

parse_eventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected