Module: LlmCostTracker::Integrations::Anthropic::BatchesPatch

Defined in:
lib/llm_cost_tracker/integrations/anthropic.rb

Instance Method Summary collapse

Instance Method Details

#results_streaming(*args, **kwargs) ⇒ Object



112
113
114
115
116
117
# File 'lib/llm_cost_tracker/integrations/anthropic.rb', line 112

def results_streaming(*args, **kwargs)
  raw = super
  return raw unless LlmCostTracker::Integrations::Anthropic.active?

  BatchResultsCapture.new(raw)
end