Module: LlmCostTracker::Integrations::Openai::ResponsesPatch

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

Instance Method Summary collapse

Instance Method Details

#retrieve_streaming(response_id, *args, **kwargs) ⇒ Object



403
404
405
406
407
408
# File 'lib/llm_cost_tracker/integrations/openai.rb', line 403

def retrieve_streaming(response_id, *args, **kwargs)
  LlmCostTracker::Integrations::Openai.wrap_stream_call(args, kwargs, self) do |normalized, collector|
    collector.provider_response_id = response_id
    super(response_id, *normalized)
  end
end