warn_beta

Function warn_beta 

Source
pub fn warn_beta(params: BetaParams, caller_module: &str)
Expand description

Display a standardized beta warning.

§Arguments

  • params - Parameters for the beta warning.
  • caller_module - The module path of the caller (typically from module_path!() macro).

§Example

use agent_chain_core::api::{warn_beta, BetaParams};

// Simple warning
warn_beta(BetaParams::new("my_function"), module_path!());

// With additional details
warn_beta(
    BetaParams::new("MyClass")
        .with_obj_type("class")
        .with_addendum("Consider using StableClass instead."),
    module_path!()
);