Method: OpenAI::Resources::Beta::Threads::Runs#initialize
- Defined in:
- lib/openai/resources/beta/threads/runs.rb
#initialize(client:) ⇒ Runs
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Runs.
383 384 385 386 |
# File 'lib/openai/resources/beta/threads/runs.rb', line 383 def initialize(client:) @client = client @steps = OpenAI::Resources::Beta::Threads::Runs::Steps.new(client: client) end |