class Riffer::ToolRuntime::Fibers
Executes tool calls concurrently using fibers via the async gem.
class MyAgent < Riffer::Agent tool_runtime Riffer::ToolRuntime::Fibers end
Public Class Methods
Source
# File lib/riffer/tool_runtime/fibers.rb, line 16 def initialize(max_concurrency: nil) super(runner: Riffer::Runner::Fibers.new(max_concurrency: max_concurrency)) end
- max_concurrency
-
maximum number of tool calls to execute simultaneously.
When +nil+, all tool calls run as fibers without limit.
Calls superclass method
Riffer::ToolRuntime::new