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

Function with_openai_provider

atomic-agent/src/hooks/codex.rs:495–501  ·  view source on GitHub ↗
(mut raw: Value)

Source from the content-addressed store, hash-verified

493}
494
495fn with_openai_provider(mut raw: Value) -> Value {
496 if let Some(obj) = raw.as_object_mut() {
497 obj.entry("provider".to_string())
498 .or_insert_with(|| Value::String("openai".to_string()));
499 }
500 raw
501}
502
503fn normalize_stop_raw(mut raw: Value) -> Value {
504 let stop_hook_active = raw.get("stop_hook_active").and_then(Value::as_bool);

Callers 1

parse_eventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected