Module: RubyLLM::ToolExecutors::AsyncExecutor

Defined in:
lib/ruby_llm/tool_executors.rb

Overview

Internal implementation for async executor. Separated to keep block size manageable.

Class Method Summary collapse

Class Method Details

.execute(tool_calls, max_concurrency:, &block) ⇒ Object



68
69
70
71
# File 'lib/ruby_llm/tool_executors.rb', line 68

def execute(tool_calls, max_concurrency:, &block)
  load_async_gem
  run_with_sync { execute_tools(tool_calls, max_concurrency, &block) }
end