// Named integration registry.
//// Each named integration is initialized at startup and called
// in the same fire-and-forget path as webhook URL callbacks.
pubmodlangfuse;pubuselangfuse::LangfuseClient;/// A named (non-URL) callback integration.
#[derive(Clone)]pubenumNamedIntegration{
Langfuse(std::sync::Arc<LangfuseClient>),}implNamedIntegration{/// Send a request log entry to the integration. Fire-and-forget.
pubfnnotify(&self, entry:&crate::admin::state::RequestLogEntry){matchself{NamedIntegration::Langfuse(client)=> client.send(entry),}}}#[cfg(test)]modtests{#[test]fnnamed_integration_dispatches(){// Smoke test: NamedIntegration enum compiles and notify() is callable.
// Actual LangfuseClient behavior is tested in integrations::langfuse::tests.
}}