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,
sig/generated/riffer/tools/runtime/threaded.rbs
Overview
Constant Summary collapse
- DEFAULT_MAX_CONCURRENCY =
: Integer
5
Instance Method Summary collapse
-
#initialize(max_concurrency: DEFAULT_MAX_CONCURRENCY) ⇒ Threaded
constructor
-- : (?max_concurrency: Integer) -> void.
Methods inherited from Riffer::Tools::Runtime
#around_tool_call, #capture_tool_arguments, #capture_tool_content?, #capture_tool_result, #dispatch_tool_call, #execute, #in_tool_span, #instrument_tool_call, #parse_arguments, #record_tool_outcome, #tag_attributes, #tool_span_attributes
Constructor Details
#initialize(max_concurrency: DEFAULT_MAX_CONCURRENCY) ⇒ Threaded
-- : (?max_concurrency: Integer) -> void
15 16 17 |
# File 'lib/riffer/tools/runtime/threaded.rb', line 15 def initialize(max_concurrency: DEFAULT_MAX_CONCURRENCY) super(runner: Riffer::Runner::Threaded.new(max_concurrency: max_concurrency)) end |