MCPcopy Create free account
hub / github.com/agenticsorg/lean-agentic / new

Method new

lean-agentic/src/conversion.rs:50–56  ·  view source on GitHub ↗

Create a new converter with default fuel

()

Source from the content-addressed store, hash-verified

48impl Converter {
49 /// Create a new converter with default fuel
50 pub fn new() -> Self {
51 Self {
52 fuel: DEFAULT_FUEL,
53 cache: Arc::new(RwLock::new(HashMap::new())),
54 stats: ConversionStats::default(),
55 }
56 }
57
58 /// Create a converter with custom fuel
59 pub fn with_fuel(fuel: u32) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected