Class: Riffer::Tools::Runtime::Threaded
- Inherits:
-
Riffer::Tools::Runtime
- Object
- Riffer::Tools::Runtime
- Riffer::Tools::Runtime::Threaded
- Defined in:
- lib/riffer/tools/runtime/threaded.rb
Overview
Constant Summary collapse
- DEFAULT_MAX_CONCURRENCY =
: Integer
5
Instance Method Summary collapse
-
#initialize(max_concurrency: DEFAULT_MAX_CONCURRENCY) ⇒ Threaded
constructor
- max_concurrency
-
maximum number of tool calls to execute simultaneously.
Methods inherited from Riffer::Tools::Runtime
Constructor Details
#initialize(max_concurrency: DEFAULT_MAX_CONCURRENCY) ⇒ Threaded
- max_concurrency
-
maximum number of tool calls to execute simultaneously.
– : (?max_concurrency: Integer) -> void
17 18 19 |
# File 'lib/riffer/tools/runtime/threaded.rb', line 17 def initialize(max_concurrency: DEFAULT_MAX_CONCURRENCY) super(runner: Riffer::Runner::Threaded.new(max_concurrency: max_concurrency)) end |