Module: RubyLLM::Contract::Concerns::DeepFreeze

Included in:
Adapters::Response, Eval::Case, Eval::Recommendation, Pipeline::Trace, Step::Trace
Defined in:
lib/ruby_llm/contract/concerns/deep_freeze.rb

Overview

Deep-duplicate and freeze a value. Creates an independent frozen copy without mutating the original. Handles Hash, Array, String recursively.