Module: LlmCostTracker::Integrations::Openai::ResponsesPatch
- Defined in:
- lib/llm_cost_tracker/integrations/openai/patches.rb
Instance Method Summary collapse
Instance Method Details
#retrieve_streaming(response_id, *args, **kwargs) ⇒ Object
48 49 50 51 52 53 54 55 |
# File 'lib/llm_cost_tracker/integrations/openai/patches.rb', line 48 def retrieve_streaming(response_id, *args, **kwargs) LlmCostTracker::Integrations::Openai.wrap_stream( args, kwargs, **LlmCostTracker::Integrations::Openai.stream_seam(self) ) do |collector| collector.provider_response_id = response_id super(response_id, *args, **kwargs) end end |